diff options
author | Marvin Borner | 2021-04-25 13:43:14 +0200 |
---|---|---|
committer | Marvin Borner | 2021-04-25 13:43:14 +0200 |
commit | f2b4acb2fe6a366288b19843e0d2678b8590bdf4 (patch) | |
tree | 1eb869f237908ec0b2516c00f940c6562c5cc5bd /kernel/inc/proc.h | |
parent | cd46cefdd74b9ad0b225706f4d4b5864e87d97d6 (diff) |
Chu chuu, using the bus for everything now!
Well, I know: bus != train. But I like trains. So I don't care.
Go away!
Diffstat (limited to 'kernel/inc/proc.h')
-rw-r--r-- | kernel/inc/proc.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h index 1e3f037..5b8fbea 100644 --- a/kernel/inc/proc.h +++ b/kernel/inc/proc.h @@ -22,25 +22,15 @@ #define RING(regs) ((regs->cs) & 3) -#define STREAM_MAX_SIZE 4096 -enum stream_defaults { STREAM_IN, STREAM_OUT, STREAM_ERR, STREAM_LOG, STREAM_UNKNOWN = -1 }; - enum proc_priv { PROC_PRIV_NONE, PROC_PRIV_ROOT, PROC_PRIV_KERNEL }; enum proc_state { PROC_RUNNING, PROC_BLOCKED }; -struct stream { - u32 offset_read; - u32 offset_write; - char data[STREAM_MAX_SIZE]; -}; - struct proc { u32 pid; u32 entry; char name[64]; char dir[64]; - struct stream streams[4]; struct page_dir *page_dir; struct regs regs; enum proc_priv priv; |