diff options
author | dzwdz | 2024-07-25 22:17:27 +0200 |
---|---|---|
committer | dzwdz | 2024-07-25 22:17:27 +0200 |
commit | 69fd0dd9fda47aa52cccdbef6ca388cea38e693b (patch) | |
tree | 9e0e80e0380f2f39dea8f3a76ecb629918ff187a /src/libc/include | |
parent | 24934406d5d39e013e22a9e6f4138c4169460d71 (diff) |
kernel: pass more information to user on interrupt
This is meant to facilitate a syscall for returning from interrupts, which
will actually work in the general case as opposed to the current hack, which
only works if the interrupt occured during a syscall (which is correct... for
now).
Diffstat (limited to 'src/libc/include')
-rw-r--r-- | src/libc/include/camellia/intr.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libc/include/camellia/intr.h b/src/libc/include/camellia/intr.h index b9390fd..c6d0310 100644 --- a/src/libc/include/camellia/intr.h +++ b/src/libc/include/camellia/intr.h @@ -1,4 +1,5 @@ #pragma once +#include <camellia/types.h> -void intr_set(void (*fn)(void)); -void intr_default(void); +void intr_set(void (*fn)(struct intr_data *)); +void intr_default(struct intr_data *); |