Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (R-Z)
Guardian Programming Reference Summary for pTAL and TAL522631-001
8-15
SEGMENT_ALLOCATE_CHKPT_
Is called by a primary process to allocate an extended data segment for use by its backup
process.
SEGMENT_DEALLOCATE_
Deallocates an extended data segment.
error-detail INT .EXT:ref:1 output
pin INT:value input
segment-type INT:value input
base-address INT(32) .EXT:ref:1 output
max-size INT(32):value input
alloc-options INT:value input
<0:13> Reserved (specify 0)
<14> = 0
= 1
Allocate a selectable segment.
Allocate a flat segment. If not running on a system that supports flat
segments allocate a selectable segment.
<15> = 0
= 1
Return the base-address in the base address parameter.
Allocate a flat segment starting at the address specified in the base-
address parameter. Bit <14> must also be set to 1. If not running on a
system that supports flat segments, allocate a selectable segment starting at
the base address%000000D (%H00080000).
error := SEGMENT_ALLOCATE_CHKPT_ ( segment-id
,[ filename:length ]
,[ error-detail ]
,[ pin ] );
error, INT returned value
segment-id, INT:value input
filename:length, STRING .EXT:ref:*,INT:value input:input
error-detail, INT .EXT:ref:1 output
pin, INT:value input
error := SEGMENT_DEALLOCATE_ ( segment-id
,[ flags ]
,[ error-detail ] );