comparison src/proc.h @ 37:fb3e5a2f76c1

fix
author mir3636
date Fri, 22 Feb 2019 22:36:17 +0900
parents 96af12a50fdb
children c976a8bbe8c5
comparison
equal deleted inserted replaced
36:d4e5846ddb48 37:fb3e5a2f76c1
68 struct file* ofile[NOFILE]; // Open files 68 struct file* ofile[NOFILE]; // Open files
69 struct inode* cwd; // Current directory 69 struct inode* cwd; // Current directory
70 char name[16]; // Process name (debugging) 70 char name[16]; // Process name (debugging)
71 union cbc_arg { 71 union cbc_arg {
72 struct cbc_console_arg { 72 struct cbc_console_arg {
73 int n; 73 int n;
74 int target; 74 int target;
75 char* dst; 75 char* dst;
76 struct inode *ip; 76 struct inode *ip;
77 struct file *f; 77 struct file *f;
78 int num; 78 int num;
79 struct pipe *p;
80 char *addr;
81 int i;
79 __code (*next)(int ret); 82 __code (*next)(int ret);
80 } cbc_console_arg; 83 } cbc_console_arg;
81 } cbc_arg; 84 } cbc_arg;
82 __code (*cbc_next)(); 85 __code (*cbc_next)();
83 struct spinlock *lk; 86 struct spinlock *lk;