summaryrefslogtreecommitdiff
path: root/src/arch/alpha/process.hh
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-06-11 21:49:46 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2006-06-11 21:49:46 -0400
commite0140202bd5f0d16d25e526283047e5a2ef5dc0c (patch)
tree8226be8501f17c7f393f13bd08a7f2b3228fbb58 /src/arch/alpha/process.hh
parentd3a57835234ab2ca3830bad380e434ec2c8d2418 (diff)
downloadgem5-e0140202bd5f0d16d25e526283047e5a2ef5dc0c.tar.xz
Move LiveProcess::create() from arch-specific files
bcak to main LiveProcess, then automatically select ISA based on object file type. Now simulation scripts no longer need to care about the ISA, as they can just call LiveProcess(). configs/test/test.py: Script no longer cares about ISA. src/arch/alpha/process.cc: src/arch/alpha/process.hh: src/arch/mips/process.cc: src/arch/mips/process.hh: src/arch/sparc/process.cc: src/arch/sparc/process.hh: src/sim/process.cc: src/sim/process.hh: Move create() from arch-specific files back to main LiveProcess, then automatically select ISA based on object file type. --HG-- extra : convert_revision : ef33ffdc79623b77000f5d68edd2026760b76ab6
Diffstat (limited to 'src/arch/alpha/process.hh')
-rw-r--r--src/arch/alpha/process.hh12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/arch/alpha/process.hh b/src/arch/alpha/process.hh
index 7fa913cad..5d5c9a52e 100644
--- a/src/arch/alpha/process.hh
+++ b/src/arch/alpha/process.hh
@@ -49,18 +49,6 @@ class AlphaLiveProcess : public LiveProcess
std::vector<std::string> &envp);
void startup();
-
- public:
- // this function is used to create the LiveProcess object, since
- // we can't tell which subclass of LiveProcess to use until we
- // open and look at the object file.
- static AlphaLiveProcess *create(const std::string &nm,
- System *_system,
- int stdin_fd, int stdout_fd, int stderr_fd,
- std::string executable,
- std::vector<std::string> &argv,
- std::vector<std::string> &envp);
-
};