Roomba Tank
CSC 460 Project 3
Data Fields
ProcessDescriptor Struct Reference

#include <os.h>

Data Fields

PID p
 
unsigned char * sp
 
unsigned char workSpace [WORKSPACE]
 
PROCESS_STATES state
 
PRIORITY py
 
PRIORITY inheritedPy
 
int arg
 
voidfuncptr code
 
KERNEL_REQUEST_TYPE request
 
unsigned int response
 
TICK wakeTickOverflow
 
TICK wakeTick
 
MUTEX m
 
EVENT eWait
 
EVENT eSend
 
unsigned int suspended
 
PID pidAction
 

Detailed Description

Each task is represented by a process descriptor, which contains all relevant information about this task. For convenience, we also store the task's stack, i.e., its workspace, in here.

Definition at line 103 of file os.h.

Field Documentation

int arg

Definition at line 110 of file os.h.

Definition at line 111 of file os.h.

EVENT eSend

Definition at line 118 of file os.h.

EVENT eWait

Definition at line 117 of file os.h.

PRIORITY inheritedPy

Definition at line 109 of file os.h.

MUTEX m

Definition at line 116 of file os.h.

PID p

Definition at line 104 of file os.h.

PID pidAction

Definition at line 120 of file os.h.

Definition at line 108 of file os.h.

Definition at line 112 of file os.h.

unsigned int response

Definition at line 113 of file os.h.

unsigned char* sp

Definition at line 105 of file os.h.

Definition at line 107 of file os.h.

unsigned int suspended

Definition at line 119 of file os.h.

TICK wakeTick

Definition at line 115 of file os.h.

TICK wakeTickOverflow

Definition at line 114 of file os.h.

unsigned char workSpace[WORKSPACE]

Definition at line 106 of file os.h.


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