summaryrefslogtreecommitdiff
path: root/src/sim/process.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-02-27 09:21:14 -0800
committerGabe Black <gblack@eecs.umich.edu>2009-02-27 09:21:14 -0800
commit932f6440a1269c6ceaf2dc07a9ced8ac4b7b1652 (patch)
treed8fd1aa417743b58a275bb9fd24fe5debc0088be /src/sim/process.cc
parentbebbc9dc8901d82954988d019d54bf5dee2d1a90 (diff)
downloadgem5-932f6440a1269c6ceaf2dc07a9ced8ac4b7b1652.tar.xz
X86: Add a class to support 32 bit x86 linux process.
Diffstat (limited to 'src/sim/process.cc')
-rw-r--r--src/sim/process.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/process.cc b/src/sim/process.cc
index 7383611c0..51c0573ba 100644
--- a/src/sim/process.cc
+++ b/src/sim/process.cc
@@ -717,9 +717,9 @@ LiveProcess::create(LiveProcessParams * params)
// fall through
case ObjectFile::Linux:
if (objFile->getArch() == ObjectFile::X86_64) {
- process = new X86LinuxProcess(params, objFile);
+ process = new X86_64LinuxProcess(params, objFile);
} else {
- panic("32 bit x86 Linux process aren't implemented.\n");
+ process = new I386LinuxProcess(params, objFile);
}
break;