summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/process.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sim/process.cc b/src/sim/process.cc
index 130c81b01..2b283c9d1 100644
--- a/src/sim/process.cc
+++ b/src/sim/process.cc
@@ -61,7 +61,7 @@
#elif THE_ISA == MIPS_ISA
#include "arch/mips/linux/process.hh"
#elif THE_ISA == X86_ISA
-//XXX There are no x86 processes yet
+#include "arch/x86/linux/process.hh"
#else
#error "THE_ISA not set"
#endif
@@ -490,15 +490,15 @@ LiveProcess::create(const std::string &nm, System *system, int stdin_fd,
}
#elif THE_ISA == X86_ISA
if (objFile->getArch() != ObjectFile::X86)
- fatal("Object file architecture does not match compiled ISA (SPARC).");
- panic("There are no implemented x86 processes!\n");
+ fatal("Object file architecture does not match compiled ISA (x86).");
switch (objFile->getOpSys()) {
- /*case ObjectFile::Linux:
+ case ObjectFile::Linux:
process = new X86LinuxProcess(nm, objFile, system,
stdin_fd, stdout_fd, stderr_fd,
argv, envp, cwd,
_uid, _euid, _gid,
- _egid, _pid, _ppid);*/
+ _egid, _pid, _ppid);
+ break;
default:
fatal("Unknown/unsupported operating system.");
}