aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc
diff options
context:
space:
mode:
authorMarvin Borner2020-08-21 23:08:16 +0200
committerMarvin Borner2020-08-21 23:08:16 +0200
commit94de27efb7f9f97d162c1cd6b0a2bb89e3fe555f (patch)
treeb2ae93419138cd0af46559b0b1f1a03862d62242 /kernel/inc
parentf700ba6668dbdb91a03b2c5aa387eb4cabae8fcd (diff)
Finished proper return of processes
Diffstat (limited to 'kernel/inc')
-rw-r--r--kernel/inc/proc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h
index 4c6ffaf..b2743a6 100644
--- a/kernel/inc/proc.h
+++ b/kernel/inc/proc.h
@@ -12,7 +12,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 state { PROC_RUNNING, PROC_ASLEEP };
+enum state { PROC_RUNNING, PROC_ASLEEP, PROC_ERROR };
struct proc {
u32 pid;