Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (R-Z)
Guardian Programming Reference Summary for pTAL and TAL522631-001
8-19
SEGMENT_USE_
Selects a particular extended data segment to be currently addressable by the calling
process.
<0:8> (Bits are reserved; 0 is returned)
<9> Segment is a flat segment.
<10> Segment is a resident cache segment.
<11> Segment is a shared segment.
<12> Segment is the currently in-use segment for the process.
<13> Segment is writeback-inhibit. Changes made to the segment are not written to the
swap files.
<14> Segment is extensible.
<15> Segment is resident.
error := SEGMENT_USE_ ( new-segment-id
,[ old-segment-id ]
,[ base-address ]
,[ error-detail ] );
error, INT returned value
0No error.
3 Bounds error; error-detail contains the number of the first parameter found to be
in error, where 1 designates the first parameter on the left.
4 The value of new-segment-id is not allocated.
5 The value of new-segment-id is out of range.
new-segment-id, INT:value input
old-segment-id, INT .EXT:ref:1 input
base-address, INT(32) .EXT:ref:1 output
error-detail, INT .EXT:ref:1 output