summaryrefslogtreecommitdiff
path: root/arch/sparc/process.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-03-14 15:59:19 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-03-14 15:59:19 -0500
commitbb8b27d5a82dc2ebbe2bcb2f0df253d1e24d57ff (patch)
tree8766a967e67d82ddc43a1cf0382478c2272b3445 /arch/sparc/process.cc
parent160d1374a7587ae739b1facd5e60ec2ae0b49254 (diff)
downloadgem5-bb8b27d5a82dc2ebbe2bcb2f0df253d1e24d57ff.tar.xz
SPARC clean up towards compilability.
--HG-- extra : convert_revision : 156670995fa61599e763b002cd70f31f19b108d1
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;