arm: Enable support for triggering a sim panic on kernel panics
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>
Mon, 22 Apr 2013 17:20:31 +0000 (13:20 -0400)
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>
Mon, 22 Apr 2013 17:20:31 +0000 (13:20 -0400)
commit5f2361f3afb5c8d15e0a5f262a0f8a7942084563
tree7f8fc4f091569baeb0de62e3f081c28534aa6110
parente8381142b061fbdf2f22d958f1c7559e9ffb3bd8
arm: Enable support for triggering a sim panic on kernel panics

Add the options 'panic_on_panic' and 'panic_on_oops' to the
LinuxArmSystem SimObject. When these option are enabled, the simulator
panics when the guest kernel panics or oopses. Enable panic on panic
and panic on oops in ARM-based test cases.
src/arch/arm/ArmSystem.py
src/arch/arm/linux/system.cc
src/arch/arm/linux/system.hh
src/cpu/pc_event.cc
src/cpu/pc_event.hh
tests/configs/arm_generic.py