summaryrefslogtreecommitdiff
path: root/src/arch/mips/process.hh
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2009-09-17 15:59:43 -0400
committerKorey Sewell <ksewell@umich.edu>2009-09-17 15:59:43 -0400
commitb7094ec38b8ec2f4de1fdf3d60a0f5953efa3e06 (patch)
tree2aaf0673fb621d2a90d15b6df8689477aead372a /src/arch/mips/process.hh
parent6f7e1961131250817f6b73f5ee8cf7902bb4bba0 (diff)
downloadgem5-b7094ec38b8ec2f4de1fdf3d60a0f5953efa3e06.tar.xz
mips: fix command line arguments
arguments were not being saved correctly into M5 memory
Diffstat (limited to 'src/arch/mips/process.hh')
-rw-r--r--src/arch/mips/process.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/arch/mips/process.hh b/src/arch/mips/process.hh
index 87c62330f..b8f4de20a 100644
--- a/src/arch/mips/process.hh
+++ b/src/arch/mips/process.hh
@@ -45,7 +45,9 @@ class MipsLiveProcess : public LiveProcess
protected:
MipsLiveProcess(LiveProcessParams * params, ObjectFile *objFile);
- virtual void startup();
+ void startup();
+
+ void argsInit(int intSize, int pageSize);
public:
MipsISA::IntReg getSyscallArg(ThreadContext *tc, int i);