summaryrefslogtreecommitdiff
path: root/arch/i386/kernel/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/syscall.c')
-rw-r--r--arch/i386/kernel/syscall.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/i386/kernel/syscall.c b/arch/i386/kernel/syscall.c
deleted file mode 100644
index 200af4f..0000000
--- a/arch/i386/kernel/syscall.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <kernel/syscall.h>
-#include <kernel/panic.h>
-#include <libk/string.h>
-#include <libk/io.h>
-#include <stddef.h>
-
-void sys_read(struct isr_frame *frame) {
-}
-
-void sys_write(struct isr_frame *frame) {
-}
-
-void handle_syscall(struct isr_frame *frame) {
- switch (frame->eax) {
- case SYS_READ:
- sys_read(frame);
- break;
- case SYS_WRITE:
- sys_write(frame);
- break;
- default:
- panic("Invalid system call number");
- }
- return 0;
-}