diff options
| author | Ada Christine <adachristine18@gmail.com> | 2025-02-02 15:20:52 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2025-02-02 15:20:52 +0000 |
| commit | 9bc0738101979b626233ee226ece3cc8cae053ec (patch) | |
| tree | 33f608f59a3cfc062db0363c208f3b0ea05c62e3 /api/kjarna | |
| parent | 3d806c9e2fcb6226915982b6514919a3b9dac4dc (diff) | |
full flow implemented
Diffstat (limited to 'api/kjarna')
| -rw-r--r-- | api/kjarna/syscall.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/api/kjarna/syscall.h b/api/kjarna/syscall.h new file mode 100644 index 0000000..8af162a --- /dev/null +++ b/api/kjarna/syscall.h @@ -0,0 +1,12 @@ +#define SYS_NOOP 0 +#define SYS_OPEN 1 +#define SYS_CLOSE 2 +#define SYS_LSEEK 3 +#define SYS_READ 4 +#define SYS_WRITE 5 +#define SYS_MMAP 6 +#define SYS_MUNMAP 7 +#define SYS_EXIT 8 + +#define NR_SYSCALLS (SYS_EXIT + 1) + |
