diff options
author | Marvin Borner | 2021-01-10 13:19:50 +0100 |
---|---|---|
committer | Marvin Borner | 2021-01-10 13:19:50 +0100 |
commit | 3619c820f8ff5918cf122a031bde6305d32f6528 (patch) | |
tree | 2eb38cc5bfd51529a5e5c603ee9801569307ff17 /kernel/inc | |
parent | ff9c7766edded74f4d522484c828b1bdc7dfa96d (diff) |
Started procfs
Diffstat (limited to 'kernel/inc')
-rw-r--r-- | kernel/inc/proc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h index c8fb3e2..7a479be 100644 --- a/kernel/inc/proc.h +++ b/kernel/inc/proc.h @@ -8,7 +8,7 @@ #include <list.h> #include <sys.h> -#define PROC_QUANTUM 100 // Milliseconds or something // TODO +#define PROC_QUANTUM 42 // Milliseconds or something // TODO #define EFLAGS_ALWAYS 0x2 // Always one #define EFLAGS_INTERRUPTS 0x200 // Enable interrupts @@ -24,6 +24,7 @@ struct proc { struct regs regs; struct regs regs_backup; enum proc_state state; + struct list *messages; }; struct proc *kernel_proc; |