System Debug Reference Manual (32650-90888)

430 Chapter10
System Debug Standard Functions
func pib
mappingbit
A Boolean that implies that the segment is physically mapped (TRUE = 1)
or logically mapped (FALSE = 0). By default,
mappingbit
is FALSE.
Examples
%cmdebug > wl phystolog( 303 )
PROG %2.0
Physical segment number %303 is converted into logical code segment PROG 2.
%cmdebug > wl phystolog( 122 )
GRP %2.0
Physical segment number %122 is converted into logical code segment GRP %2.
Limitations, Restrictions
none
func pib
Returns the virtual address (SPTR) of a process's process information block (PIB).
Syntax
pib (
pin
)
Formal Declaration
pib:sptr (
pin
:u16)
Parameters
pin
The process identification number (PIN) for which the address of the PIB
is to be returned.
Examples
$nmdebug > wl pib(8)
$c3583a20
Limitations, Restrictions
If the PIN does not exist, the function result is undefined and an error status is set.