Luna/libluna/include/luna/Syscall.h

15 lines
472 B
C
Raw Normal View History

#pragma once
#define enumerate_syscalls(_e) \
2023-03-11 17:02:50 +00:00
_e(exit) _e(console_write) _e(clock_gettime) _e(allocate_memory) _e(deallocate_memory) _e(usleep) _e(open) \
2023-03-12 14:32:09 +00:00
_e(close) _e(read) _e(getpid) _e(write) _e(lseek) _e(mkdir)
enum Syscalls
{
#undef __enumerate
#define __enumerate(name) SYS_##name,
enumerate_syscalls(__enumerate)
#undef __enumerate
__count
};