diff options
author | Danny Holman <dholman@gymli.org> | 2022-03-22 13:43:54 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2022-03-22 13:43:54 -0500 |
commit | 84332707f1df86c25c1f94883044c5e8fe2e20a3 (patch) | |
tree | 8f047d248c89899b9b45575f63feddf360854946 /arch/i386/include/kernel | |
parent | 84fe944adc002bc6e8844e9ac9c292b9d7dd3f92 (diff) |
arch: i386: refactor the system call API
The x86 system call/interrupt handlers should be refactored to be more
readable.
Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'arch/i386/include/kernel')
-rw-r--r-- | arch/i386/include/kernel/isr.h | 2 | ||||
-rw-r--r-- | arch/i386/include/kernel/syscall.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/i386/include/kernel/isr.h b/arch/i386/include/kernel/isr.h index f177ee2..4e21f8f 100644 --- a/arch/i386/include/kernel/isr.h +++ b/arch/i386/include/kernel/isr.h @@ -11,8 +11,6 @@ struct isr_frame { uint32_t edi; uint32_t esi; - uint32_t ebp; - uint32_t esp; uint32_t edx; uint32_t ecx; uint32_t ebx; diff --git a/arch/i386/include/kernel/syscall.h b/arch/i386/include/kernel/syscall.h index cded732..4f74c1f 100644 --- a/arch/i386/include/kernel/syscall.h +++ b/arch/i386/include/kernel/syscall.h @@ -3,6 +3,7 @@ #include <kernel/isr.h> +void halt_catch_fire(struct isr_frame *frame); void syscall_dispatch(struct isr_frame *frame); void register_syscall(void *handler(struct isr_frame*), int num); void sys_stop(struct isr_frame *frame); |