Luna/libluna/include/luna/Syscall.h
apio 8c72e9a49a
All checks were successful
continuous-integration/drone/push Build is passing
kernel: Add an exec() system call
Doesn't support arguments or environment for now.
2023-03-16 22:44:58 +01:00

15 lines
451 B
C

#pragma once
#define enumerate_syscalls(_e) \
_e(exit) _e(console_write) _e(clock_gettime) _e(mmap) _e(munmap) _e(usleep) _e(open) _e(close) _e(read) _e(getpid) \
_e(write) _e(lseek) _e(mkdir) _e(exec)
enum Syscalls
{
#undef __enumerate
#define __enumerate(name) SYS_##name,
enumerate_syscalls(__enumerate)
#undef __enumerate
__count
};