diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-07-05 17:25:37 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-07-05 17:25:37 -0400 |
commit | bd26dbdb13108bffed1c246a450029a3322dba4c (patch) | |
tree | 138a19eb77646bbacd27a70017e0c6fac1f51dbb | |
parent | ea9697250cf55add36af1548b524ab22d6a2cf94 (diff) | |
download | gem5-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
-rw-r--r-- | src/cpu/checker/cpu_impl.hh | 4 |
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 |