2023-01-05 21:39:56 +00:00
|
|
|
#pragma once
|
|
|
|
|
2023-01-22 14:00:20 +00:00
|
|
|
#define enumerate_syscalls(_e) \
|
|
|
|
_e(exit) _e(console_write) _e(clock_gettime) _e(allocate_memory) _e(deallocate_memory) _e(usleep)
|
2023-01-05 21:39:56 +00:00
|
|
|
|
|
|
|
enum Syscalls
|
|
|
|
{
|
|
|
|
#undef __enumerate
|
|
|
|
#define __enumerate(name) SYS_##name,
|
|
|
|
enumerate_syscalls(__enumerate)
|
|
|
|
#undef __enumerate
|
|
|
|
__count
|
|
|
|
};
|