diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-02-27 09:21:36 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-02-27 09:21:36 -0800 |
commit | 05de9f4e2cb0771a8f83dc1888c877852e19f1ad (patch) | |
tree | 546b6d465515ea3e125b516c22be99c8774bb9f0 /src/arch/x86/linux/process.cc | |
parent | 932f6440a1269c6ceaf2dc07a9ced8ac4b7b1652 (diff) | |
download | gem5-05de9f4e2cb0771a8f83dc1888c877852e19f1ad.tar.xz |
X86: Distinguish the width of values on the stack between 32 and 64 bit processes.
Diffstat (limited to 'src/arch/x86/linux/process.cc')
-rw-r--r-- | src/arch/x86/linux/process.cc | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/arch/x86/linux/process.cc b/src/arch/x86/linux/process.cc index 8a3fc67ee..da22d9851 100644 --- a/src/arch/x86/linux/process.cc +++ b/src/arch/x86/linux/process.cc @@ -64,25 +64,16 @@ #include "kern/linux/linux.hh" #include "sim/process.hh" -#include "sim/syscall_emul.hh" using namespace std; using namespace X86ISA; -SyscallDesc* -X86LinuxProcess::getDesc(int callnum) -{ - if (callnum < 0 || callnum >= Num_Syscall_Descs) - return NULL; - return &syscallDescs[callnum]; -} - X86_64LinuxProcess::X86_64LinuxProcess(LiveProcessParams * params, ObjectFile *objFile) - : X86LinuxProcess(params, objFile, syscallDescs, 273) + : X86_64LiveProcess(params, objFile, syscallDescs, 273) {} I386LinuxProcess::I386LinuxProcess(LiveProcessParams * params, ObjectFile *objFile) - : X86LinuxProcess(params, objFile, syscallDescs, 324) + : I386LiveProcess(params, objFile, syscallDescs, 324) {} |