comparison src/proc.h @ 32:96af12a50fdb

fix cbc_read
author mir3636
date Tue, 22 Jan 2019 15:48:35 +0900
parents 96a5833d0d82
children fb3e5a2f76c1
comparison
equal deleted inserted replaced
31:96a5833d0d82 32:96af12a50fdb
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 __code (*next)(int ret); 78 int num;
79 __code (*next)(int ret);
79 } cbc_console_arg; 80 } cbc_console_arg;
80 } cbc_arg; 81 } cbc_arg;
81 __code (*cbc_next)(); 82 __code (*cbc_next)();
82 struct spinlock *lk; 83 struct spinlock *lk;
83 }; 84 };