From 95cd78840f0891e60f5ebecc8a8eb4fbaf3c2ebf Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sun, 12 Jan 2025 01:17:36 -0600 Subject: PROJECT RESTRUCTURING Move the entire kernel into its own directory. Create new directories for system commands, libraries and other required essentials for a complete Unix-like operating system. Signed-off-by: Danny Holman --- arch/i386/kernel/syscall.c | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 arch/i386/kernel/syscall.c (limited to 'arch/i386/kernel/syscall.c') 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 -#include -#include -#include -#include - -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; -} -- cgit v1.2.3