pentry Struct Reference

#include <proc.h>


Data Fields

uchar state
ushort prio
void * stkptr
void * stkbase
ulong stklen
char name [PNMLEN]
irqmask irqstate
semaphore sem
ushort parent
long msg
bool hasmsg


Detailed Description

Definition at line 49 of file proc.h.


Field Documentation

process state: PRCURR, etc.

Definition at line 51 of file proc.h.

Referenced by create(), kill(), ready(), receive(), resched(), send(), sleep(), sysinit(), wait(), and xsh_ps().

process priority

Definition at line 52 of file proc.h.

Referenced by create(), ready(), resched(), sysinit(), and xsh_ps().

saved stack pointer

Definition at line 53 of file proc.h.

Referenced by create(), resched(), sysinit(), and xsh_ps().

base of run time stack

Definition at line 54 of file proc.h.

Referenced by create(), kill(), sysinit(), and xsh_ps().

stack length

Definition at line 55 of file proc.h.

Referenced by create(), sysinit(), and xsh_ps().

char pentry::name[PNMLEN]

process name

Definition at line 56 of file proc.h.

Referenced by create(), sysinit(), and xsh_ps().

saved interrupt mask

Definition at line 57 of file proc.h.

Referenced by resched().

semaphore waiting for

Definition at line 58 of file proc.h.

Referenced by kill(), and wait().

pid for the parent process

Definition at line 59 of file proc.h.

Referenced by create(), kill(), and xsh_ps().

message sent to this process

Definition at line 60 of file proc.h.

Referenced by receive(), and send().

nonzero iff msg is valid

Definition at line 61 of file proc.h.

Referenced by receive(), and send().


The documentation for this struct was generated from the following file:

Generated on Thu Oct 9 22:35:28 2008 for xinu by  doxygen 1.5.5