Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (A-B)
Guardian Procedure Calls Reference Manual—522629-013
2-15
ADDRESS_DELIMIT_ Procedure
returns the logical segment ID of the address area that contains address. Either
this is the segment ID assigned by the caller when the segment was allocated, or it
is a reserved segment ID. See “Reserved Segment ID Values,” later in this
section, for details. If
error is 4 (address is not mapped), segment-id
returns -1.
error-detail output
INT .EXT:ref:1
returns additional error information when an
error value of 3 (bounds error) is
returned. See
error for details.
General Considerations
For any output parameter to this procedure, supplying the parameter with the pointer
address set to %37777000000D (null address) is equivalent to not supplying the
parameter.
Address-Descriptor Bit Fields
The meanings of the bit fields returned by the address-descriptor parameter are
as follows:
Reserved Segment ID Values
The reserved segment ID values that can be returned by the segment-id parameter
lie in the range -109 through -2 (65427 through 65534). These values are used
Bit field Indicates that the segment is
<0:4> Bits are reserved; 0 is returned.
<0:5> Bits are reserved; 0 is returned.
<5> Managed by the Kernel-Managed Swap Facility (KMSF).
<6>
An OSS shared memory segment.
<7> An unaliased segment. An unaliased segment does not have a
corresponding absolute segment address.
<8> A flat segment.
<9>
Currently in-use selectable segment for the process.
<10> Accessible only by privileged processes.
<11> Shared by another process.
<12> Cannot be deallocated.
<13> Read-only.
<14> Extensible.
<15> Resident.