diff options
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r-- | src/kernel/proc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h index b95e901..041dbd0 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -81,6 +81,9 @@ struct process { /* vfs_backend controlled (not exclusively) by this process */ struct vfs_backend *controlled; + /* interrupt handler */ + void __user *intr_fn; + struct { void *buf; size_t len; @@ -100,6 +103,8 @@ void process_filicide(struct process *proc, int ret); /** Tries to reap a dead process / free a tombstone. */ void process_tryreap(struct process *dead); +void process_intr(struct process *proc); + /** Switches execution to any running process. */ _Noreturn void process_switch_any(void); |