(identify_environment) — identify the environment in the PreInit table

This invocation of CEEPIPI identifies the environment that was preinitialized.

Read syntax diagramSkip visual syntax diagram
Syntax

>>-CALL--CEEPIPI--(--identify_environment--,--token--,--pipi_environment--)-><

identify_environment (input)
A fullword containing the identify_environment function code (integer value=15).
token (input)
A fullword with the value of the token of the environment. This is the token returned by a (init_main), (init_main_dp), (init_sub) or (init_sub_dp) request.
pipi_environment (output)
A fullword (32 Bit) mask value will be returned. For information about the mask value, see Table 1.
Table 1. Mask values for the pipi_environment
pipi_environment Mask value Action
ceepipi_main X'80000000' PreInit main environment is initialized.
ceepipi_enclave_initialized X'40000000' PreInit enclave is initialized.
ceepipi_dp_environment X'20000000' PreInit sub dp environment is initialized.
ceepipi_dp_seq_of_calls_active X'10000000' PreInit seq call function is active.
ceepipi_dp_exits_established X'08000000' PreInit sub dp exits is set.
ceepipi_sir_unregistered X'04000000' PreInit sir is registered.
ceepipi_sub_environment X'02000000' PreInit sub environment is initialized.
ceepipi_XPLINK_environment X'01000000' PreInit XPLINK environment is initialized.
ceepipi_init_main_dp_environment X'00200000' PreInit main dp environment is initialized.
Note: Mask bits other than those listed in the table may be nonzero. The meaning of these bits is not defined.