panic: handlers can now be placed in flash

By unchecking "Place panic handler code in IRAM" in the menuconfig,
the panic handlers will be placed in flash. Of course, flash cache must
be activated when entering panic handlers.
This commit is contained in:
Omar Chebib
2021-03-24 12:11:07 +08:00
parent d14661eaa3
commit bb9aa806f7
7 changed files with 32 additions and 23 deletions
@@ -73,7 +73,6 @@ def int_wdt_inner(env, test_name):
def int_wdt_cache_disabled_inner(env, test_name):
with get_dut(env, test_name, 'test_int_wdt_cache_disabled', qemu_wdt_enable=True) as dut:
dut.expect('Re-enable cpu cache.')
dut.expect_gme('Interrupt wdt timeout on CPU0')
dut.expect_reg_dump(0)
dut.expect('Backtrace:')
@@ -87,7 +86,6 @@ def int_wdt_cache_disabled_inner(env, test_name):
def cache_error_inner(env, test_name):
with get_dut(env, test_name, 'test_cache_error') as dut:
dut.expect('Re-enable cpu cache.')
dut.expect_gme('Cache disabled but cached memory region accessed')
dut.expect_reg_dump(0)
dut.expect_backtrace()