Moved syscall IDs to separate header

This commit is contained in:
2022-08-19 06:06:48 -05:00
parent 164fb9fcae
commit 0337fca749
4 changed files with 19 additions and 13 deletions

View File

@@ -3,19 +3,6 @@
#include <stdbool.h>
#include <stddef.h>
enum syscall_id_t
{
SYSCALL_TEST = 1,
SYSCALL_YIELD,
SYSCALL_MMAP,
SYSCALL_MUNMAP,
SYSCALL_TERMINATE_SELF,
SYSCALL_SEND,
SYSCALL_RECEIVE,
SYSCALL_OPEN_PORT,
SYSCALL_CLOSE_PORT
};
typedef union
{
long signed_int;