From 06121c7075e91056820c674f192be460ef5eb656 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sat, 15 Jan 2022 16:24:08 -0600 Subject: arch: i386: add support for IRQs and system calls Add support for rudementary system calls and IRQ interrupts. Signed-off-by: Danny Holman --- arch/i386/boot/syscall.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 arch/i386/boot/syscall.h (limited to 'arch/i386/boot/syscall.h') diff --git a/arch/i386/boot/syscall.h b/arch/i386/boot/syscall.h new file mode 100644 index 0000000..376fb7c --- /dev/null +++ b/arch/i386/boot/syscall.h @@ -0,0 +1,9 @@ +#ifndef I386_SYSCALL_H +#define I386_SYSCALL_H + +#include + +void syscall_dispatch(struct isr_frame *frame); +void register_syscall(void *handler(struct isr_frame*), int num); + +#endif -- cgit v1.2.3