diff options
author | Danny Holman <dholman@gymli.org> | 2022-01-21 12:10:05 -0600 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2022-01-21 12:10:05 -0600 |
commit | 8cd22309667cf3da9c357e5b7dca43e8b6a2f9c0 (patch) | |
tree | 05a7e450a702a5fc744b4bd1f96abf1952ece566 /arch/i386/include/kernel/syscall.h | |
parent | 5fe27abd6204dd17787d7d0046015777444357ff (diff) |
arch: i386: move non-critial files out of boot
Move all files not needed for the bootstrap process out of boot and into
the main x86 source directory.
Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'arch/i386/include/kernel/syscall.h')
-rw-r--r-- | arch/i386/include/kernel/syscall.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/i386/include/kernel/syscall.h b/arch/i386/include/kernel/syscall.h new file mode 100644 index 0000000..cded732 --- /dev/null +++ b/arch/i386/include/kernel/syscall.h @@ -0,0 +1,13 @@ +#ifndef I386_SYSCALL_H +#define I386_SYSCALL_H + +#include <kernel/isr.h> + +void syscall_dispatch(struct isr_frame *frame); +void register_syscall(void *handler(struct isr_frame*), int num); +void sys_stop(struct isr_frame *frame); +void sys_status(struct isr_frame *frame); + +void dump_reg(struct isr_frame *frame); + +#endif |