VMS Help
RTL Routines, LIB$, LIB$GET_VM_PAGE
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
The Get Virtual Memory Page routine allocates a specified number
of contiguous pages on VAX systems or pagelets on Alpha systems
of memory in the program region and returns the virtual address
of the first allocated page on VAX or pagelet on Alpha.
Format
LIB$GET_VM_PAGE number-of-pages ,base-address
OpenVMS usage:cond_value
type: longword (unsigned)
access: write only
mechanism: by value
number-of-pages
OpenVMS usage:longword_signed
type: longword integer (signed)
access: read only
mechanism: by reference
Number of pages on VAX systems or pagelets on Alpha systems. The
number-of-pages argument is the address of a longword integer
that specifies the number of contiguous pages on VAX systems or
pagelets on Alpha systems to be allocated. The value of number-
of-pages must be greater than 0.
base-address
OpenVMS usage:address
type: longword (unsigned)
access: write only
mechanism: by reference
Block address. The base-address argument is the address of a
longword that is set to the address of the first byte of the
newly allocated block of pages on VAX systems or pagelets on
Alpha systems.
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.