os_data_hdr Struct Reference
[Advanced Features and Debugging]

#include <tr_debug.h>


Detailed Description

A representation of the debug header data.

TiROS does not use this structure directly. This is presented here to illustrate the type of debug data that TiROS encodes.

Definition at line 52 of file tr_debug.h.

Data Fields

unsigned char os_options
unsigned char data_sizes1
unsigned char data_sizes2
unsigned char os_max_procs


Field Documentation

unsigned char os_data_hdr::os_options

Byte 1: Options.

RegisterPassing, ExtraDebugging,

	     Reserved -      4 bit.
	     prio_sort_method - 2 bits  -- 00 - not included.
	                                   01 - method = 1
	                                   10 - method = 2
	                                   11 - method = 3
	     RegisterPassing - 1 bit.
	     StackChecking - 1 bit.
	  

Definition at line 64 of file tr_debug.h.

unsigned char os_data_hdr::data_sizes1

Byte 2: Data Type sizes 1.

Data type sizes are either 8,16,32,64 bits. Any value in between (for ex. 24 bits) is padded up to the next highest value.

	  tid_t size  - 2 bits: 8, 16, 32, 64 bits.
	  subtime_t size - 2 bits: 8, 16, 32, 64 bits.
	  flag_t size    - 2 bits: 8, 16, 32, 64 bits. 
	  osword_t size - 2bits
	 

Definition at line 76 of file tr_debug.h.

unsigned char os_data_hdr::data_sizes2

Byte 3: Data Type sizes 2.

Pointer Word size - 2 bits: 8, 16, 32, 64 bits

Definition at line 80 of file tr_debug.h.

unsigned char os_data_hdr::os_max_procs

TIROS_MAX_PROCS.

Definition at line 83 of file tr_debug.h.


The documentation for this struct was generated from the following file:
TiROS User Manual: Last Updated on Fri Jul 20 10:52:24 2007