diff src/proc.h @ 26:a146855e16eb

bugfix
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Thu, 17 Jan 2019 19:43:22 +0900
parents a5ccbc210ff8
children 1a64b5645cdd
line wrap: on
line diff
--- a/src/proc.h	Thu Jan 17 19:22:48 2019 +0900
+++ b/src/proc.h	Thu Jan 17 19:43:22 2019 +0900
@@ -1,3 +1,4 @@
+#include "typedefData.h"
 #ifndef PROC_INCLUDE_
 #define PROC_INCLUDE_
 
@@ -70,10 +71,11 @@
     union cbc_arg {
         struct cbc_console_arg {
 	    int n;
+        int target;
 	    char* dst;
 	    struct inode *ip;
-	    __code (*next)(int ret);     
-        } 
+	    __code (*next)(int ret);
+        } cbc_console_arg;
     } cbc_arg;
     __code (*cbc_next)();
     struct spinlock *lk