This variable can be set in a debugger (e.g. Spike) to finely control which traps go to coreboot and which go to the supervisor.
Change-Id: I292264c15f002c41cf8d278354d8f4c0efbd0895
3d302b0 riscv: add a variable to control trap management
src/arch/riscv/virtual_memory.c | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)
Upstream: review.coreboot.org