diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-04-19 04:15:32 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-04-19 04:15:32 -0700 |
commit | ca8598147835cc3bf4cb6125b4f32cbd941f1ae7 (patch) | |
tree | 66b6a0f9e09c2988a56962dcd0b66a4b80dd35c1 /src/arch/x86/linux/process.hh | |
parent | b8333a5155d1231dc1e76762de6ece23ea702d8a (diff) | |
download | gem5-ca8598147835cc3bf4cb6125b4f32cbd941f1ae7.tar.xz |
SE mode: Make keeping track of the number of syscalls less hacky.
Diffstat (limited to 'src/arch/x86/linux/process.hh')
-rw-r--r-- | src/arch/x86/linux/process.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86/linux/process.hh b/src/arch/x86/linux/process.hh index ca3606ef0..8ea5e6f01 100644 --- a/src/arch/x86/linux/process.hh +++ b/src/arch/x86/linux/process.hh @@ -69,6 +69,7 @@ class X86_64LinuxProcess : public X86_64LiveProcess protected: /// Array of syscall descriptors, indexed by call number. static SyscallDesc syscallDescs[]; + static const int numSyscalls; public: /// Constructor. @@ -80,6 +81,7 @@ class I386LinuxProcess : public I386LiveProcess protected: /// Array of syscall descriptors, indexed by call number. static SyscallDesc syscallDescs[]; + static const int numSyscalls; public: /// Constructor. |