# HG changeset patch # User mir3636 # Date 1547720568 -32400 # Node ID a5ccbc210ff8bfd8b7b8a50aebf7e657f7187a3e # Parent 36bd61f5c847bc418daf86db1a53f352a5c8c92a fix proc.h diff -r 36bd61f5c847 -r a5ccbc210ff8 src/proc.h --- a/src/proc.h Thu Jan 17 19:11:19 2019 +0900 +++ b/src/proc.h Thu Jan 17 19:22:48 2019 +0900 @@ -67,6 +67,16 @@ struct file* ofile[NOFILE]; // Open files struct inode* cwd; // Current directory char name[16]; // Process name (debugging) + union cbc_arg { + struct cbc_console_arg { + int n; + char* dst; + struct inode *ip; + __code (*next)(int ret); + } + } cbc_arg; + __code (*cbc_next)(); + struct spinlock *lk }; // Process memory is laid out contiguously, low addresses first: