changeset 25:a5ccbc210ff8

fix proc.h
author mir3636
date Thu, 17 Jan 2019 19:22:48 +0900
parents 36bd61f5c847
children a146855e16eb
files src/proc.h
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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: