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
This commit is contained in:
parent
efc41fe82d
commit
59b3987cc4
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue