summaryrefslogtreecommitdiff
path: root/arch/mips/process.cc
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2006-03-12 05:58:28 -0500
committerKorey Sewell <ksewell@umich.edu>2006-03-12 05:58:28 -0500
commit57d53f8a9d738b43e0de41a70813e3a6de8d4dfb (patch)
tree2bd45bf1d4a23ca8696b76fbffff3754dd244d4a /arch/mips/process.cc
parent18ba0f85486f0dd919064ba2b0ed8c53a7861298 (diff)
parent4d19bbeeebd026b0aab52e381ee77e4141ed9dd1 (diff)
downloadgem5-57d53f8a9d738b43e0de41a70813e3a6de8d4dfb.tar.xz
Merge zizzer:/bk/newmem
into zazzer.eecs.umich.edu:/.automount/zooks/y/ksewell/research/m5-sim/newmem --HG-- extra : convert_revision : b101fa550567d5a9f5de6c2d8c3f67829ae050c1
Diffstat (limited to 'arch/mips/process.cc')
-rw-r--r--arch/mips/process.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/process.cc b/arch/mips/process.cc
index 6de44fe9f..7f374f580 100644
--- a/arch/mips/process.cc
+++ b/arch/mips/process.cc
@@ -28,11 +28,13 @@
#include "arch/mips/process.hh"
+using namespace std;
+
namespace MipsISA
{
LiveProcess *
-createProcess(const string &nm, ObjectFile * objFile,
+createProcess(const string &nm, ObjectFile * objFile, System * system,
int stdin_fd, int stdout_fd, int stderr_fd,
vector<string> &argv, vector<string> &envp)
{
@@ -41,7 +43,7 @@ createProcess(const string &nm, ObjectFile * objFile,
fatal("Object file does not match architecture.");
switch (objFile->getOpSys()) {
case ObjectFile::Linux:
- process = new MipsLinuxProcess(nm, objFile,
+ process = new MipsLinuxProcess(nm, objFile,system,
stdin_fd, stdout_fd, stderr_fd,
argv, envp);
break;