firmware: Improve low-level trap handler for M-mode to M-mode traps
authorAnup Patel <anup.patel@wdc.com>
Tue, 19 Feb 2019 12:41:22 +0000 (18:11 +0530)
committerAnup Patel <anup@brainfault.org>
Wed, 20 Feb 2019 06:32:40 +0000 (12:02 +0530)
commit122d00ba67c9caeffc65ddd96dd22c0d204f4c72
treeaf897791de84a0c92221af20979ebc0982f46cb1
parentce6189f7a5adbf6ac88b95f78a6d5e9b5481faf9
firmware: Improve low-level trap handler for M-mode to M-mode traps

This patch extends our low-level trap handler in fw_base.S for
handling M-mode to M-mode traps without overwritting stack.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
firmware/fw_base.S
include/sbi/sbi_scratch.h