summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-07-05 17:25:37 -0400
committerKevin Lim <ktlim@umich.edu>2006-07-05 17:25:37 -0400
commitbd26dbdb13108bffed1c246a450029a3322dba4c (patch)
tree138a19eb77646bbacd27a70017e0c6fac1f51dbb /src
parentea9697250cf55add36af1548b524ab22d6a2cf94 (diff)
downloadgem5-bd26dbdb13108bffed1c246a450029a3322dba4c.tar.xz
Checker ignores any faults that occur in syscall emulation mode for now.
src/cpu/checker/cpu_impl.hh: The only fault we handle in SE causes troubles when invoked with the Checker. This is because it changes state within the process, and not the checker, so the state isn't correct when the main CPU calls invoke. It's safe to just ignore the fault in the Checker and continue. --HG-- extra : convert_revision : 5000d763a75009c7a6011646a6790ac5b23df6bb
Diffstat (limited to 'src')
-rw-r--r--src/cpu/checker/cpu_impl.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cpu/checker/cpu_impl.hh b/src/cpu/checker/cpu_impl.hh
index 137e1c46d..7c1efb0b1 100644
--- a/src/cpu/checker/cpu_impl.hh
+++ b/src/cpu/checker/cpu_impl.hh
@@ -236,9 +236,7 @@ Checker<DynInstPtr>::verify(DynInstPtr &completed_inst)
willChangePC = true;
newPC = thread->readPC();
DPRINTF(Checker, "Fault, PC is now %#x\n", newPC);
-#else // !FULL_SYSTEM
- fatal("fault (%d) detected @ PC 0x%08p", fault, thread->readPC());
-#endif // FULL_SYSTEM
+#endif
} else {
#if THE_ISA != MIPS_ISA
// go to the next instruction