gem5: adapt to changed SimulatorController iface
This quick fix is necessary to let gem5 compile again. Instead of passing NULL to onInterrupt(), a proper fix should pass the currently active ConcreteCPU instance. Change-Id: Ie4322fd98cb7b12309a21a2dd431f9bdc84efaf8
This commit is contained in:
@ -334,7 +334,8 @@ BaseSimpleCPU::checkForInterrupts()
|
|||||||
if (interrupt != NoFault) {
|
if (interrupt != NoFault) {
|
||||||
// DanceOS
|
// DanceOS
|
||||||
#ifdef CONFIG_EVENT_INTERRUPT
|
#ifdef CONFIG_EVENT_INTERRUPT
|
||||||
fail::simulator.onInterrupt(dynamic_cast<ArmFault*>(interrupt.get())->offset(), false);
|
// FIXME pass the currently active ConcreteCPU instance
|
||||||
|
fail::simulator.onInterrupt(NULL, dynamic_cast<ArmFault*>(interrupt.get())->offset(), false);
|
||||||
#endif
|
#endif
|
||||||
fetchOffset = 0;
|
fetchOffset = 0;
|
||||||
interrupts->updateIntrInfo(tc);
|
interrupts->updateIntrInfo(tc);
|
||||||
|
|||||||
Reference in New Issue
Block a user