diff options
author | Marvin Borner | 2020-09-14 18:38:44 +0200 |
---|---|---|
committer | Marvin Borner | 2020-09-14 18:38:44 +0200 |
commit | 096f9be4ac328ae39bd794c36a9a04ff68c2b844 (patch) | |
tree | 7228f9d1631fd126c1942bafb878cca381ff336b /kernel/inc | |
parent | 18a0cc60d46d8ab22479e9683c27459703195480 (diff) |
Some GUI fixes
Diffstat (limited to 'kernel/inc')
-rw-r--r-- | kernel/inc/proc.h | 4 |
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; |