System Debug Reference Manual (32650-90888)
Chapter 10 429
System Debug Standard Functions
func pcbx
func pcbx
Returns the virtual address (SPTR) of a process's process control block extension (PCBX).
Syntax
pcbx (
pin
)
Formal Declaration
pcbx:sptr (
pin
:u16)
Parameters
pin
The process identification number (PIN) for which the address of the
PCBX is to be returned. Note that this is a CM data structure.
Examples
$nmdebug > wl pcbx(8)
$40010db0
Limitations, Restrictions
If the PIN does not exist, the function result is undefined and an error status is set.
func phystolog
Converts a CM physical segment number and mapping bit to a CM logical code address.
Syntax
phystolog (
physsegnum
[
mappingbit
])
This function is typically used to manually examine CM stack markers, and CM external
plabels.
The offset part of the returned CM logical code address is always set to zero.
Formal Declaration
phystolog:lcptr (
physsegnum
:u16 [
mappingbit
:bool=FALSE])
Parameters
physsegnum
The CM physical segment number to be converted to a CM logical address.