15 lines
431 B
C
15 lines
431 B
C
#pragma once
|
|
|
|
#define enumerate_syscalls(_e) \
|
|
_e(exit) _e(console_write) _e(clock_gettime) _e(allocate_memory) _e(deallocate_memory) _e(usleep) _e(open) \
|
|
_e(close) _e(read)
|
|
|
|
enum Syscalls
|
|
{
|
|
#undef __enumerate
|
|
#define __enumerate(name) SYS_##name,
|
|
enumerate_syscalls(__enumerate)
|
|
#undef __enumerate
|
|
__count
|
|
};
|