diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-05-10 08:43:00 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-05-19 06:49:32 +0300 |
commit | 28b40528499755ec19a6f8a06dc47e65619fb96c (patch) | |
tree | 2c24425358a5bd00cebd7aafc84a9c62a6f124a3 /include/sbi/sbi_hart.h | |
parent | 38a4b54cdc3fd77574c4ef166154819a976e9fa0 (diff) | |
download | opensbi-28b40528499755ec19a6f8a06dc47e65619fb96c.tar.xz |
lib: sbi: detect features before everything else in sbi_hart_init()
We should detect HART features in sbi_hart_init() before
mstatus_init(), delegate_traps() and pmp_init().
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'include/sbi/sbi_hart.h')
0 files changed, 0 insertions, 0 deletions