diff options
Diffstat (limited to 'proc.h')
-rw-r--r-- | proc.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -37,7 +37,7 @@ struct proc { void *chan; // If non-zero, sleeping on chan int killed; // If non-zero, have been killed struct file *ofile[NOFILE]; // Open files - struct inode *cwd; // Current directory + struct uinode *cwd; // Current directory struct jmpbuf jmpbuf; // Jump here to run process struct trapframe *tf; // Trap frame for current interrupt char name[16]; // Process name (debugging) @@ -49,8 +49,6 @@ struct proc { // fixed-size stack // expandable heap -extern struct proc proc[]; - // If xv6 was only for uniprocessors, this could be // struct proc *cp; // Instead we have an array curproc, one per |