aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc
diff options
context:
space:
mode:
authorMarvin Borner2021-01-10 13:19:50 +0100
committerMarvin Borner2021-01-10 13:19:50 +0100
commit3619c820f8ff5918cf122a031bde6305d32f6528 (patch)
tree2eb38cc5bfd51529a5e5c603ee9801569307ff17 /kernel/inc
parentff9c7766edded74f4d522484c828b1bdc7dfa96d (diff)
Started procfs
Diffstat (limited to 'kernel/inc')
-rw-r--r--kernel/inc/proc.h3
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;