changeset 32496de51017 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=32496de51017
description:
X86: Implement genMachineCheckFault.
Even though this shouldn't ever be used, it might get called
speculatively and
shouldn't panic.
diffstat:
src/arch/x86/faults.hh | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (27 lines):
diff -r ce987fa77797 -r 32496de51017 src/arch/x86/faults.hh
--- a/src/arch/x86/faults.hh Fri Oct 22 00:23:50 2010 -0700
+++ b/src/arch/x86/faults.hh Fri Oct 22 00:24:08 2010 -0700
@@ -160,11 +160,6 @@
}
};
- static inline Fault genMachineCheckFault()
- {
- panic("Machine check fault not implemented in x86!\n");
- }
-
// Below is a summary of the interrupt/exception information in the
// architecture manuals.
@@ -368,6 +363,11 @@
{}
};
+ static inline Fault genMachineCheckFault()
+ {
+ return new MachineCheck;
+ }
+
class SIMDFloatingPointFault : public X86Fault
{
public:
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev