summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-03-12 16:27:52 -0500
committerSteve Reinhardt <stever@eecs.umich.edu>2006-03-12 16:27:52 -0500
commit159cee171976019badb17336eff5b69df3c89528 (patch)
tree186f575cc382dd832113b6934af0693d1a3ca4ab /arch/mips
parente1985e02007f2e34d6e62c66ba417e6e9f3a1316 (diff)
downloadgem5-159cee171976019badb17336eff5b69df3c89528.tar.xz
Clean up arch/*/process.hh includes and std namespace issues.
arch/alpha/process.cc: arch/mips/process.cc: arch/sparc/process.cc: You really do need the headers in the .cc file. arch/alpha/process.hh: Don't include unnecessary headers in another header. Replace with forward class declarations. arch/mips/process.hh: arch/sparc/process.hh: Don't include unnecessary headers in another header. Replace with forward class declarations. Also fix std namespace... no "using" in header files! --HG-- extra : convert_revision : f2cd953d0f4a212bb8148cc54c329aa3c18deb89
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/process.cc3
-rw-r--r--arch/mips/process.hh14
2 files changed, 11 insertions, 6 deletions
diff --git a/arch/mips/process.cc b/arch/mips/process.cc
index 7f374f580..f63e668b5 100644
--- a/arch/mips/process.cc
+++ b/arch/mips/process.cc
@@ -27,6 +27,9 @@
*/
#include "arch/mips/process.hh"
+#include "arch/mips/linux/process.hh"
+#include "base/loader/object_file.hh"
+#include "base/misc.hh"
using namespace std;
diff --git a/arch/mips/process.hh b/arch/mips/process.hh
index b2a35d688..8f5d74d96 100644
--- a/arch/mips/process.hh
+++ b/arch/mips/process.hh
@@ -29,18 +29,20 @@
#ifndef __MIPS_PROCESS_HH__
#define __MIPS_PROCESS_HH__
-#include "arch/mips/linux_process.hh"
-#include "base/loader/object_file.hh"
+#include <string>
+#include <vector>
-using namespace std;
+class LiveProcess;
+class ObjectFile;
+class System;
namespace MipsISA
{
LiveProcess *
-createProcess(const string &nm, ObjectFile * objFile,System * system,
- int stdin_fd, int stdout_fd, int stderr_fd,
- vector<string> &argv, vector<string> &envp);
+createProcess(const std::string &nm, ObjectFile * objFile,System * system,
+ int stdin_fd, int stdout_fd, int stderr_fd,
+ std::vector<std::string> &argv, std::vector<std::string> &envp);
} // namespace MipsISA