diff options
author | dzwdz | 2022-04-14 12:36:34 +0200 |
---|---|---|
committer | dzwdz | 2022-04-14 12:36:34 +0200 |
commit | 0d59c8d11173b28f958413128eb792655568a365 (patch) | |
tree | 4750ee37a845bdae8f9fbc85eb6baa80fdc7a8cc /src/kernel/proc.h | |
parent | 18d757e1b4939b24031935a6db59aefee4669e68 (diff) |
kernel: store a pointer to the callback function in .waits4irq
removes `proc.c`'s pointless dependency on `vfs/root.h`
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r-- | src/kernel/proc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h index eaa649a..5daef31 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -40,6 +40,7 @@ struct process { struct { struct vfs_request req; bool (*ready)(); + void (*callback)(struct process *); } waits4irq; }; struct vfs_request *handled_req; |