diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2009-04-21 08:17:36 -0700 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2009-04-21 08:17:36 -0700 |
commit | 52b6764f31cab46204d5fdf6d0191428a8408bb1 (patch) | |
tree | 8c0ae8d04cb0e3a2b6b2fc3a7c6a0be5a44d3927 /src/arch/mips | |
parent | b0e9654f8621729400ba627ed8c9bd0bf3833f7a (diff) | |
download | gem5-52b6764f31cab46204d5fdf6d0191428a8408bb1.tar.xz |
syscall: Resolve conflicts between m5threads and Gabe's recent SE changes.
Diffstat (limited to 'src/arch/mips')
-rw-r--r-- | src/arch/mips/isa_traits.hh | 4 | ||||
-rw-r--r-- | src/arch/mips/process.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/mips/isa_traits.hh b/src/arch/mips/isa_traits.hh index 59c2c00a2..fb46890c1 100644 --- a/src/arch/mips/isa_traits.hh +++ b/src/arch/mips/isa_traits.hh @@ -188,6 +188,10 @@ namespace MipsISA // semantically meaningful register indices const int ZeroReg = 0; const int AssemblerReg = 1; + const int SyscallSuccessReg = 7; + const int FirstArgumentReg = 4; + const int ReturnValueReg = 2; + const int KernelReg0 = 26; const int KernelReg1 = 27; const int GlobalPointerReg = 28; diff --git a/src/arch/mips/process.cc b/src/arch/mips/process.cc index 784ddfe33..3e9fb7c20 100644 --- a/src/arch/mips/process.cc +++ b/src/arch/mips/process.cc @@ -40,10 +40,6 @@ using namespace std; using namespace MipsISA; -static const int SyscallSuccessReg = 7; -static const int FirstArgumentReg = 4; -static const int ReturnValueReg = 2; - MipsLiveProcess::MipsLiveProcess(LiveProcessParams * params, ObjectFile *objFile) : LiveProcess(params, objFile) |