Open System Services Programmer's Guide
Process Type Attribute
The type of process—32-bit or 64-bit—is recorded in the process control block (PCB) during process
creation and is provided by the PROCESS_GETINFOLIST_ Guardian procedure. The attribute code
for determining if a process is 64-bit is 155 (ZSYS_VAL_PINF_IS_64BIT).
New PROCESS_GETINFOLIST_ Attributes
New PROCESS_GETINFOLIST_ 64-Bit-Wide Attributes
PROCESS_GETINFOLIST_ has new 64-bit attributes that provide information about the 64-bit
addresses and values used by a process. Applications that obtain attributes from a 64-bit process
should use these new 64-bit attribute codes rather than the equivalent 32-bit attribute codes. These
64-bit attribute codes can also be used to obtain values from a 32-bit process. The new 64-bit
attributes are:
Table 46 New PROCESS_GETINFOLIST_ 64-Bit-Wide Attributes
DescriptionData TypeAttributeCode
64-bit origin of the MAIN stackINT(64)ZSYS_VAL_PINF_MAINSTACK_ORG64142
Current MAIN stack sizeINT(64)ZSYS_VAL_PINF_MAINSTACK_SIZE64143
Maximum size of the MAIN stackINT(64)ZSYS_VAL_PINF_MAINSTACK_MAX64144
64-bit origin of the privileged stackINT(64)ZSYS_VAL_PINF_PRIVSTACK_ORG64145
Current privileged stack sizeINT(64)ZSYS_VAL_PINF_PRIVSTACK_SIZE64146
Maximum privileged stack sizeINT(64)ZSYS_VAL_PINF_PRIVSTACK_MAX64147
64-bit address start of global dataINT(64)ZSYS_VAL_PINF_GLOBAL_ORG64148
Size of global dataINT(64)ZSYS_VAL_PINF_GLOBAL_SIZE64149
Start of the 64-bit heap areaINT(64)ZSYS_VAL_PINF_HEAP_ORG64150
Current size of the 64-bit heap areaINT(64)ZSYS_VAL_PINF_HEAP_SIZE64151
Maximum size of the 64-bit heap areaINT(64)ZSYS_VAL_PINF_HEAP_MAX64152
Guaranteed swap/memory spaceINT(64)ZSYS_VAL_PINF_SPACE_GUARANT64153
Non-zero for a 64-bit processINT(32)ZSYS_VAL_PINF_IS_64BIT155
Number of 64-bit segmentsINT(32)ZSYS_VAL_PINF_64BIT_SEGMENTS156
The above PROCESS_GETINFOLIST_ attributes are identical to their 32-bit counterparts except that
the values returned are 64-bit values rather than 32-bit values (except for ZSYS_VAL_PINF_IS_64BIT
and ZSYS_VAL_PINF_64BIT_SEGMENTS).
PROCESS_GETINFOLIST_ Superseded 32-Bit Attributes
The PROCESS_GETINFOLIST_ equivalent 32-bit-only attributes are:
Table 47 PROCESS_GETINFOLIST_ Superseded 32-Bit-Only Attributes
DescriptionData TypeAttributeCode
32-bit origin of the MAIN stackINT(32)ZSYS_VAL_PINF_MAINSTACK_ORG102
Current MAIN stack sizeINT(32)ZSYS_VAL_PINF_MAINSTACK_SIZE103
Maximum size of the MAIN stackINT(32)ZSYS_VAL_PINF_MAINSTACK_MAX104
32-bit origin of the privileged stackINT(32)ZSYS_VAL_PINF_PRIVSTACK_ORG105
Current privileged stack sizeINT(32)ZSYS_VAL_PINF_PRIVSTACK_SIZE106
64-Bit OSS Processes 287