Mercurial > hg > Members > anatofuz > CbC_xv6
diff src/proc.h @ 84:a4307abefd0b
include context.h on proc.h and ajastment directory on CMakeList.txt
author | tobaru |
---|---|
date | Mon, 14 Oct 2019 22:48:39 +0900 |
parents | c976a8bbe8c5 |
children |
line wrap: on
line diff
--- a/src/proc.h Sat Oct 12 15:22:33 2019 +0900 +++ b/src/proc.h Mon Oct 14 22:48:39 2019 +0900 @@ -1,6 +1,7 @@ #include "typedefData.h" #ifndef PROC_INCLUDE_ #define PROC_INCLUDE_ +#include "context.h" // Per-CPU state, now we only support one CPU struct cpu { @@ -68,6 +69,7 @@ struct file* ofile[NOFILE]; // Open files struct inode* cwd; // Current directory char name[16]; // Process name (debugging) + struct Context cbc_context; union cbc_arg { struct cbc_console_arg { int n;