summaryrefslogtreecommitdiff
path: root/include/sbi/sbi_hsm.h
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-09-04 14:09:49 +0300
committerAnup Patel <anup@brainfault.org>2020-09-09 07:02:04 +0300
commitc1c7c3ee9eb70e5c25914621f0363bfe244ebc79 (patch)
tree13d1fc2f881cf9390796c5e578ce7ed6b4e825a8 /include/sbi/sbi_hsm.h
parentbef63d68489a3026f2fdf4c07a8915d3dcdf14cd (diff)
downloadopensbi-c1c7c3ee9eb70e5c25914621f0363bfe244ebc79.tar.xz
lib: sbi_trap: Allow M-mode to M-mode ECALLs
We should allow M-mode to M-mode ECALLs because: 1. No other mode can handle M-mode ECALLs 2. In future, we can allow M-mode baremetal application (not linked to OpenSBI) running independently and cooperatively without corrupting OpenSBI M-mode state (CSRs and memory). Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'include/sbi/sbi_hsm.h')
0 files changed, 0 insertions, 0 deletions