#pragma once #include #define SYSCALL_READ 0 #define SYSCALL_WRITE 1 #define SYSCALL_GETCWD 2 #define SYSCALL_CHDIR 3 #define SYSCALL_SPAWN 4 #define SYSCALL_READDIR 5 #define SYSCALL_EXIT 60 void syscall_init(); uint64_t syscall_dispatch(uint64_t func, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4);