aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc
diff options
context:
space:
mode:
authorMarvin Borner2020-09-14 18:38:44 +0200
committerMarvin Borner2020-09-14 18:38:44 +0200
commit096f9be4ac328ae39bd794c36a9a04ff68c2b844 (patch)
tree7228f9d1631fd126c1942bafb878cca381ff336b /kernel/inc
parent18a0cc60d46d8ab22479e9683c27459703195480 (diff)
Some GUI fixes
Diffstat (limited to 'kernel/inc')
-rw-r--r--kernel/inc/proc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h
index ea78885..7b47ed6 100644
--- a/kernel/inc/proc.h
+++ b/kernel/inc/proc.h
@@ -9,7 +9,7 @@
#include <list.h>
#include <sys.h>
-#define PROC_QUANTUM 420 // Nanoseconds or something // TODO
+#define PROC_QUANTUM 100 // Milliseconds or something // TODO
#define EFLAGS_ALWAYS 0x2 // Always one
#define EFLAGS_INTERRUPTS 0x200 // Enable interrupts
@@ -17,7 +17,7 @@
#define GDT_USER_CODE_OFFSET 0x1b // User code segment offset in GDT (with ring3 mask)
#define GDT_USER_DATA_OFFSET 0x23 // User data segment offset in GDT (with ring3 mask)
-enum proc_state { PROC_DEFAULT };
+enum proc_state { PROC_RUNNING };
struct proc {
u32 pid;