Add syscalldefs.h sample

This commit is contained in:
Ted Nyman
2013-11-04 19:05:56 -08:00
parent 88442094f9
commit 6ee999617e
2 changed files with 41600 additions and 43235 deletions

File diff suppressed because it is too large Load Diff

5
samples/C/syscalldefs.h Normal file
View File

@@ -0,0 +1,5 @@
static const syscalldef syscalldefs[] = {
[SYSCALL_OR_NUM(0, SYS_restart_syscall)] = MAKE_UINT16(0, 1),
[SYSCALL_OR_NUM(1, SYS_exit)] = MAKE_UINT16(1, 17),
[SYSCALL_OR_NUM(2, SYS_fork)] = MAKE_UINT16(0, 22),
};