proc Struct Reference

#include <proc.h>


Data Fields

char * mem
uint sz
char * kstack
enum procstate state
volatile int pid
struct procparent
struct trapframetf
struct contextcontext
void * chan
int killed
struct fileofile [NOFILE]
struct inodecwd
char name [16]


Detailed Description

Definition at line 30 of file proc.h.


Field Documentation

char* proc::mem

Definition at line 31 of file proc.h.

Referenced by fetchint(), fetchstr(), fork(), userinit(), and wait().

Definition at line 32 of file proc.h.

Referenced by fetchint(), fetchstr(), fork(), userinit(), and wait().

char* proc::kstack

Definition at line 33 of file proc.h.

Referenced by allocproc(), fork(), and wait().

Definition at line 34 of file proc.h.

Referenced by allocproc(), exit(), fork(), kill(), procdump(), scheduler(), userinit(), wait(), and wakeup1().

volatile int proc::pid

Definition at line 35 of file proc.h.

Referenced by allocproc(), fork(), kill(), procdump(), and wait().

struct proc* proc::parent [read]

Definition at line 36 of file proc.h.

Referenced by exit(), fork(), and wait().

struct trapframe* proc::tf [read]

Definition at line 37 of file proc.h.

Referenced by allocproc(), fork(), and userinit().

struct context* proc::context [read]

Definition at line 38 of file proc.h.

Referenced by allocproc(), and procdump().

void* proc::chan

Definition at line 39 of file proc.h.

Referenced by wakeup1().

Definition at line 40 of file proc.h.

Referenced by kill(), and wait().

struct file* proc::ofile[NOFILE] [read]

Definition at line 41 of file proc.h.

Referenced by fork().

struct inode* proc::cwd [read]

Definition at line 42 of file proc.h.

Referenced by fork(), and userinit().

char proc::name[16]

Definition at line 43 of file proc.h.

Referenced by procdump(), userinit(), and wait().


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

Generated on Fri Jan 7 12:25:49 2011 for xv6 by  doxygen 1.5.6