func tcb [ System Debug Reference Manual ] MPE/iX 5.0 Documentation
System Debug Reference Manual
func tcb
Returns the real address of a process's TCB (task control block).
Syntax
tcb (pin)
Formal Declaration
tcb:u32 (pin:u16)
Parameters
pin The process identification number (PIN) for which the
real address of the TCB is to be returned.
Examples
$nmdebug > wl tcb(8)
$8b5480
Display the real address of the task control block for process 8.
$nmdebug > dz tcb(8),4
REAL $008b5480 $ 40200000 40260000 000000000 00000000
Display real memory for four words at the real address of the task
control block.
$nmdebug > dv 0.tcb(8),4
VIRT $0.8b5480 $ 40200000 40260000 000000000 00000000
The real address can also be used as virtual address by using the space
ID (SID) of zero (0), and the real address as the virtual offset.
Limitations, Restrictions
none
MPE/iX 5.0 Documentation