HPlogo System Debug Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 8 System Debug Standard Functions

func tcb

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Returns the real address of a process' 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

Feedback to webmaster