TYPE
(RESERVE
)
The TYPE
attribute is used to specify the type of memory
reservation.
-
RESERVE
-
A standard virtual memory address reservation. If
TYPE
is not specified,RESERVE
is the default. A virtual address reservation provides the means to reserve a portion of a process address. Mapping operations such asmmap
(2), andshmat
(2) are able to use the reserved memory by explicitly specifying a fixed address within the reserved range. However, the system will not otherwise choose to map objects and or other files within a reserved range. The link-editor creates aPT_LOAD
program header entry with thep_flags
, andp_filesz
fields set to zero. TheVADDR
, andSIZE
attributes are required for aRESERVE
memory reservation segment. -
SYSSTAT
-
Reserved for internal use. The link-editor creates a
PT_SUNW_SYSSTAT
memory reservation. TheVADDR
attribute is required for aSYSSTAT
memory reservation segment. IfSIZE
is specified, the mapping is given the specified size. Otherwise, the default system defined size for the mapping type is provided. -
SYSSTAT_ZONE
-
Reserved for internal use. The link-editor creates a
PT_SUNW_SYSSTAT_ZONE
memory reservation. TheVADDR
attribute is required for aSYSSTAT_ZONE
memory reservation segment. IfSIZE
is specified, the mapping is given the specified size. Otherwise, the default system defined size for the mapping type is provided.