diff options
author | Marvin Borner | 2020-08-24 12:21:23 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-24 12:21:23 +0200 |
commit | 0a4c8dd2d6048fe9851b8d92a311bba7aaa83a57 (patch) | |
tree | 5e1e235f4ff22b3233f43db768ddd373f6063856 /kernel/inc/proc.h | |
parent | 0e05b395cb8868b77d91d9d614ff5ae09b3b853a (diff) |
Removed async events
Diffstat (limited to 'kernel/inc/proc.h')
-rw-r--r-- | kernel/inc/proc.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h index 186c18e..36d8e85 100644 --- a/kernel/inc/proc.h +++ b/kernel/inc/proc.h @@ -25,27 +25,22 @@ struct proc { struct regs regs; struct regs regs_backup; enum proc_state state; - struct list *events; struct list *messages; }; -struct proc_event { - struct event_descriptor *desc; - void *data; -}; - struct proc_message { struct proc *src; struct proc *dest; struct message *msg; }; +struct proc *kernel_proc; + void proc_init(); void proc_print(); struct proc *proc_current(); void proc_send(struct proc *src, struct proc *dest, enum message_type type, void *data); struct proc_message *proc_receive(struct proc *proc); -void proc_resolve(struct proc *proc); struct proc *proc_from_pid(u32 pid); void proc_exit(struct proc *proc, int status); void proc_yield(); |