summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-03-28 22:30:43 -0500
committerSteve Reinhardt <stever@eecs.umich.edu>2006-03-28 22:30:43 -0500
commit59b3987cc409c42fab9debe6fc4cad2656b92c18 (patch)
treecd8781207f762d529144c9804364a68336ec9dc4 /arch
parentefc41fe82d6e1acb82aadd1063efd5e223f876f7 (diff)
downloadgem5-59b3987cc409c42fab9debe6fc4cad2656b92c18.tar.xz
Make Alpha ItbFault methods abstract instead of calling panic()
(which wasn't working since panic() isn't declared yet here). arch/alpha/faults.hh: Make ItbFault methods abstract instead of calling panic() (which wasn't working since panic() isn't declared yet here). --HG-- extra : convert_revision : b15242baa370777f265a3f6b7d5f5c05702b016f
Diffstat (limited to 'arch')
-rw-r--r--arch/alpha/faults.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/alpha/faults.hh b/arch/alpha/faults.hh
index fa826fe78..e8ccc6b79 100644
--- a/arch/alpha/faults.hh
+++ b/arch/alpha/faults.hh
@@ -244,9 +244,9 @@ class ItbFault : public AlphaFault
ItbFault(Addr _pc)
: pc(_pc)
{ }
- FaultName name() { panic("Dtb Fault is a base class"); }
- FaultVect vect() { panic("Dtb Fault is a base class"); }
- FaultStat & countStat() { panic("Dtb Fault is a base class"); }
+ FaultName name() = 0;
+ FaultVect vect() = 0;
+ FaultStat & countStat() = 0;
#if FULL_SYSTEM
void invoke(ExecContext * xc);
#endif