gem5: TrapListener implemented
The TrapListener works like in Bochs. Instead of a number to a trap the offset is returned for GEM5. See: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0211h/Babfeega.html Conflicts: simulators/gem5/src/cpu/simple/atomic.cc Change-Id: Ia8b2083e3c16315d9c577150f14f16995494b2e6
This commit is contained in:
committed by
Horst Schirmeier
parent
fa1690bd1f
commit
5fbf13d07d
@ -294,11 +294,6 @@ BaseBus::findPort(Addr addr)
|
||||
|
||||
// we should use the range for the default port and it did not
|
||||
// match, or the default port is not set
|
||||
// FAIL*
|
||||
#ifdef CONFIG_EVENT_TRAP
|
||||
fail::ConcreteCPU* cpu = &fail::simulator.getCPU(0);
|
||||
fail::simulator.onTrap(cpu, 0);
|
||||
#endif
|
||||
fatal("Unable to find destination for addr %#llx on bus %s\n", addr,
|
||||
name());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user