Specifications

Operating System Routines
EXE$ALOPHYCNTG
EXE$ALOPHYCNTG
Allocates a physically contiguous block of memory.
Module
MEMORYALC
Input
Location Contents
R1 Number of physically contiguous pages to allocate
Output
Location Contents
R0 SS$_NORMAL, SS$_INSFMEM, or SS$_INSFSPTS
R2 System virtual address of allocated block, if the
allocation succeeds
Synchronization
EXE$ALOPHYCNTG raises IPL to IPL$_SYNCH and obtains the MMG spinlock.
As a result, its caller cannot be executing above IPL$_SYNCH or hold any
spinlock ranked higher than MMG. (For instance, a driver fork process executing
at IPL$_SYNCH holding the IOLOCK8 fork lock can call EXE$ALOPHYCNTG.)
EXE$ALOPHYCNTG returns control to its caller at IPL$_SYNCH. The caller
retains any spinlock it held at the time of the call.
Description
EXE$ALOPHYCNTG allocates a physically contiguous block of memory. You
cannot deallocate memory allocated by EXE$ALOPHYCNTG.
Note that the number of SPT slots available depends on the value of the SPTREQ
system parameter.
3–17