comparison src/proc.h @ 25:a5ccbc210ff8

fix proc.h
author mir3636
date Thu, 17 Jan 2019 19:22:48 +0900
parents 83c23a36980d
children a146855e16eb
comparison
equal deleted inserted replaced
24:36bd61f5c847 25:a5ccbc210ff8
65 void* chan; // If non-zero, sleeping on chan 65 void* chan; // If non-zero, sleeping on chan
66 int killed; // If non-zero, have been killed 66 int killed; // If non-zero, have been killed
67 struct file* ofile[NOFILE]; // Open files 67 struct file* ofile[NOFILE]; // Open files
68 struct inode* cwd; // Current directory 68 struct inode* cwd; // Current directory
69 char name[16]; // Process name (debugging) 69 char name[16]; // Process name (debugging)
70 union cbc_arg {
71 struct cbc_console_arg {
72 int n;
73 char* dst;
74 struct inode *ip;
75 __code (*next)(int ret);
76 }
77 } cbc_arg;
78 __code (*cbc_next)();
79 struct spinlock *lk
70 }; 80 };
71 81
72 // Process memory is laid out contiguously, low addresses first: 82 // Process memory is laid out contiguously, low addresses first:
73 // text 83 // text
74 // original data and bss 84 // original data and bss