aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc
diff options
context:
space:
mode:
authorMarvin Borner2020-09-11 22:54:38 +0200
committerMarvin Borner2020-09-11 22:54:38 +0200
commite37e7eefcb0148651331d6a750846f26ecf11126 (patch)
tree2aad5993414d344900a7ade53ccddbc8586ccb54 /kernel/inc
parent8eb9ee85529a6140a533ffeb52f5e7f4078d9f27 (diff)
Removed wait syscall - whoopsidoo!
Diffstat (limited to 'kernel/inc')
-rw-r--r--kernel/inc/proc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h
index 9d4906d..89144ca 100644
--- a/kernel/inc/proc.h
+++ b/kernel/inc/proc.h
@@ -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, PROC_WAITING };
+enum proc_state { PROC_DEFAULT };
struct proc {
u32 pid;
@@ -41,7 +41,6 @@ void scheduler_disable();
void proc_init();
void proc_print();
struct proc *proc_current();
-int proc_awake();
void proc_send(struct proc *src, struct proc *dest, enum message_type type, void *data);
struct proc_message *proc_receive(struct proc *proc);
struct proc *proc_from_pid(u32 pid);