diff options
Diffstat (limited to 'kernel/inc/proc.h')
-rw-r--r-- | kernel/inc/proc.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h index 8f93e43..7e13652 100644 --- a/kernel/inc/proc.h +++ b/kernel/inc/proc.h @@ -4,7 +4,9 @@ #define PROC_H #include <def.h> +#include <event.h> #include <interrupts.h> +#include <list.h> #define PROC_QUANTUM 42 // Milliseconds @@ -18,7 +20,12 @@ struct proc { u32 pid; char name[32]; struct regs regs; - u32 event; + struct list *events; +}; + +struct proc_event { + struct event_descriptor *desc; + void *data; }; void proc_init(); |