Example of creating a memory object with a guard area
The following example creates
a 3-megabyte memory object with a 2-megabyte guard area. The guard
area is at the high end of the memory object:
IARV64 REQUEST=GETSTOR, +
SEGMENTS=NUM_SEG, +
USERTKN=USER_TOKEN, +
GUARDSIZE=GUARDPAGES, +
GUARDLOC=HIGH, +
ORIGIN=VIRT64_ADDR
The following example increases the size of the guard area by the
specified amount.
IARV64 REQUEST=CHANGEGUARD, +
CONVERT=FROMGUARD, +
MEMOBJSTART=VIRT64_ADDR, +
CONVERTSIZE=SEGMENT_SIZE