diff options
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 |