Use the list form of RESMGR together with the execute form of the macro for applications that require reentrant code. The list form of the macro defines an area of storage, which the execute form of the macro uses to store the parameters.
The list form of the RESMGR macro is written as follows:
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
␢ | One or more blanks must precede RESMGR |
RESMGR | |
␢ | One or more blanks must follow RESMGR |
ADD | |
DELETE | |
,TOKEN=tokaddr | tokaddr: A-type address or register (2) - (12). |
,TYPE=ADDRSPC | |
,TYPE=TASK | |
,ASID=CURRENT | asid: A constant. |
,ASID=ALL | |
,ASID=asid | |
,TCB=CURRENT | |
,TCB=ALL | |
,TCB=tcbaddr | tcbaddr: A-type address |
,TTOKEN=ttoken | ttoken: A-type address |
,ROUTINE=(LINK, pgname) | pgname: C-type constant or A-type address. |
,ROUTINE=(BRANCH, pgaddr) | pgaddr: A-type address. |
,ROUTINE=(PC, pcnum) | pcnum: A constant. |
,ROUTINE=(RLXPC, seqnumpcnum) |
seqnumpcnum: A-type address. |
,ECB=ecbaddr | ecbaddr: A-type address. |
,PARAM=paddr | paddr: A-type address. |
,RELATED=value | value: Any valid macro keyword specification. |
,MF=L | |
The parameters are explained under the standard form of the RESMGR macro with the following exceptions: