diff options
Diffstat (limited to 'src/arch/x86/linux/syscalls.cc')
-rw-r--r-- | src/arch/x86/linux/syscalls.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/x86/linux/syscalls.cc b/src/arch/x86/linux/syscalls.cc index 09235ec94..49a7d8b77 100644 --- a/src/arch/x86/linux/syscalls.cc +++ b/src/arch/x86/linux/syscalls.cc @@ -503,6 +503,9 @@ SyscallDesc X86_64LinuxProcess::syscallDescs[] = { /* 272 */ SyscallDesc("unshare", unimplementedFunc) }; +const int X86_64LinuxProcess::numSyscalls = + sizeof(X86_64LinuxProcess::syscallDescs) / sizeof(SyscallDesc); + SyscallDesc I386LinuxProcess::syscallDescs[] = { /* 0 */ SyscallDesc("restart_syscall", unimplementedFunc), /* 1 */ SyscallDesc("exit", unimplementedFunc), @@ -829,3 +832,6 @@ SyscallDesc I386LinuxProcess::syscallDescs[] = { /* 322 */ SyscallDesc("timerfd", unimplementedFunc), /* 323 */ SyscallDesc("eventfd", unimplementedFunc) }; + +const int I386LinuxProcess::numSyscalls = + sizeof(I386LinuxProcess::syscallDescs) / sizeof(SyscallDesc); |