summaryrefslogtreecommitdiff
path: root/src/arch/sparc/faults.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-11-07 05:40:48 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-11-07 05:40:48 -0500
commit0c9bcf209a2d169dbd37f576c2f3c6f74deda192 (patch)
tree27ef1e3bca849fa008730756d8186f403948aa4d /src/arch/sparc/faults.hh
parentbcd5099aace33750d38d4270ceb93c000ac2288e (diff)
downloadgem5-0c9bcf209a2d169dbd37f576c2f3c6f74deda192.tar.xz
The normal spill and fill faults only need to behave specially in SE.
--HG-- extra : convert_revision : 4d4b866699e3450b88418822fc198411ee3d831a
Diffstat (limited to 'src/arch/sparc/faults.hh')
-rw-r--r--src/arch/sparc/faults.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/sparc/faults.hh b/src/arch/sparc/faults.hh
index 0c7106707..b25b7706e 100644
--- a/src/arch/sparc/faults.hh
+++ b/src/arch/sparc/faults.hh
@@ -548,7 +548,10 @@ class SpillNNormal : public EnumeratedFault
FaultName name() {return _name;}
FaultPriority priority() {return _priority;}
FaultStat & countStat() {return _count;}
+ //These need to be handled specially to enable spill traps in SE
+#if !FULL_SYSTEM
void invoke(ThreadContext * tc);
+#endif
};
class SpillNOther : public EnumeratedFault
@@ -579,7 +582,10 @@ class FillNNormal : public EnumeratedFault
FaultName name() {return _name;}
FaultPriority priority() {return _priority;}
FaultStat & countStat() {return _count;}
+ //These need to be handled specially to enable fill traps in SE
+#if !FULL_SYSTEM
void invoke(ThreadContext * tc);
+#endif
};
class FillNOther : public EnumeratedFault