summaryrefslogtreecommitdiff
path: root/arch/i386/include/kernel/syscall.h
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2025-01-12 01:17:36 -0600
committerDanny Holman <dholman@gymli.org>2025-01-12 01:19:11 -0600
commit95cd78840f0891e60f5ebecc8a8eb4fbaf3c2ebf (patch)
treec8c35347b50477929727fa5be9f5d0f55cbe18fd /arch/i386/include/kernel/syscall.h
parent5e166f3042a8e7b3031aae4da7006f80caa53ecc (diff)
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 <dholman@gymli.org>
Diffstat (limited to 'arch/i386/include/kernel/syscall.h')
-rw-r--r--arch/i386/include/kernel/syscall.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/arch/i386/include/kernel/syscall.h b/arch/i386/include/kernel/syscall.h
deleted file mode 100644
index a657527..0000000
--- a/arch/i386/include/kernel/syscall.h
+++ /dev/null
@@ -1,34 +0,0 @@
-#ifndef I386_SYSCALL_H
-#define I386_SYSCALL_H
-
-#include <kernel/asm.h>
-#include <stdint.h>
-#include <stddef.h>
-
-// Unix standard calls
-#define SYS_FORK 1
-#define SYS_EXIT 2
-#define SYS_WAIT 3
-#define SYS_PIPE 4
-#define SYS_READ 5
-#define SYS_WRITE 6
-#define SYS_KILL 7
-#define SYS_FSTAT 8
-#define SYS_CHDIR 9
-#define SYS_DUP 10
-#define SYS_GETPID 11
-#define SYS_SLEEP 12
-#define SYS_OPEN 13
-#define SYS_MKNOD 14
-#define SYS_UNLINK 15
-#define SYS_LINK 16
-#define SYS_MKDIR 17
-#define SYS_CLOSE 18
-#define SYS_EXEC 19
-
-#define SYS_HALT 87
-#define SYS_REBOOT 88
-
-void handle_syscall(struct isr_frame *frame);
-
-#endif