summaryrefslogtreecommitdiff
path: root/include/kernel/proc_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/kernel/proc_def.h')
-rw-r--r--include/kernel/proc_def.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/kernel/proc_def.h b/include/kernel/proc_def.h
index e5a2cbc..06c80aa 100644
--- a/include/kernel/proc_def.h
+++ b/include/kernel/proc_def.h
@@ -1,8 +1,11 @@
#pragma once
#include "common/types.h"
+#include "common/fcntl.h"
struct cpu;
struct Trapframe;
+class Inode;
+struct file;
enum ProcState
{
@@ -51,6 +54,9 @@ struct Proc
void *chan;
int xstate;
+ Inode *cwd;
+ struct file *ofile[NOFILE];
+
struct Proc *next;
struct Proc *prev;
int priority;