System Debug Reference Manual (32650-90888)
386 Chapter10
System Debug Standard Functions
func cmstackdst
Limitations, Restrictions
If the PIN does not exist, the function result is undefined and an error status is set.
func cmstackdst
Returns the DST number for a process's compatibility mode stack.
Syntax
cmstackdst (
pin
)
Formal Declaration
cmstackdst:u16 (
pin
:u16)
Parameters
pin
The process identification number (PIN) for which the DST number of the
CM stack is to be returned.
Examples
$nmdebug > wl cmstackdst(8)
$4f
Limitations, Restrictions
If the PIN does not exist, the function result is undefined and an error status is set.
func cmstacklimit
Returns the virtual address for the limit of a process's compatibility mode stack.
Syntax
cmstacklimit (
pin
)
The virtual address of the last usable byte in the CM stack is returned.
Formal Declaration
cmstacklimit:lptr (
pin
:u16)