User`s guide

Macros for Porting from VAX to Alpha or I64
$LOCKED_PAGE_END
Description
$LOCKED_PAGE_END is used with $LOCKED_PAGE_START to delineate
code that may be locked at image initialization time by the $LOCK_PAGE_INIT
macro. The code delineated by these macros must contain complete routines—
execution cannot fall through either macro, nor can you branch into or out of the
locked code. Any attempt to branch into or out of the locked code section or to fall
through the macros will be flagged by the compiler with an error.
$LOCKED_PAGE_START
Marks the start of a section of code that may be locked at image initialization
time by the $LOCK_PAGE_INIT macro.
Format
$LOCKED_PAGE_START
There are no parameters for this macro.
Description
$LOCKED_PAGE_START is used with $LOCKED_PAGE_END to delineate
code that may be locked at image initialization time by the $LOCK_PAGE_INIT
macro. The code delineated by these macros must contain complete routines—
execution may not fall through either macro, nor may the locked code be branched
into or out of. Any attempt to branch into or out of the locked code section or to
fall through the macros will be flagged by the compiler with an error.
D.3.2 On-the-Fly Lockdown
These macros are used for on-the-fly lockdown:
$LOCK_PAGE
$UNLOCK_PAGE
$LOCK_PAGE
Marks the beginning of a section of code to be locked on-the-fly.
Format
$LOCK_PAGE [error]
Parameters
[error]
Address to branch to if one of the $LKWSET calls fail.
Macros for Porting from VAX to Alpha or I64 D–9