summaryrefslogtreecommitdiff
path: root/arch/sparc/process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/process.cc')
-rw-r--r--arch/sparc/process.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/sparc/process.cc b/arch/sparc/process.cc
index 2c10f65e6..174df2be4 100644
--- a/arch/sparc/process.cc
+++ b/arch/sparc/process.cc
@@ -31,11 +31,13 @@
#include "base/loader/object_file.hh"
#include "base/misc.hh"
+using namespace std;
+
namespace SparcISA
{
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)
{
@@ -44,7 +46,7 @@ createProcess(const string &nm, ObjectFile * objFile,
fatal("Object file does not match architecture.");
switch (objFile->getOpSys()) {
case ObjectFile::Linux:
- process = new SparcLinuxProcess(nm, objFile,
+ process = new SparcLinuxProcess(nm, objFile, system,
stdin_fd, stdout_fd, stderr_fd,
argv, envp);
break;