TYPE (RESERVE)
The TYPE attribute is used to specify the type of memory
reservation.
-
RESERVE -
A standard virtual memory address reservation. If
TYPEis not specified,RESERVEis 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_LOADprogram header entry with thep_flags, andp_fileszfields set to zero. TheVADDR, andSIZEattributes are required for aRESERVEmemory reservation segment. -
SYSSTAT -
Reserved for internal use. The link-editor creates a
PT_SUNW_SYSSTATmemory reservation. TheVADDRattribute is required for aSYSSTATmemory reservation segment. IfSIZEis 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_ZONEmemory reservation. TheVADDRattribute is required for aSYSSTAT_ZONEmemory reservation segment. IfSIZEis specified, the mapping is given the specified size. Otherwise, the default system defined size for the mapping type is provided.