mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-03-15 19:31:32 +00:00
fw: Disable delegation
Also disable interrupts and exceptions delegation when clearing mie and mip. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
This commit is contained in:
parent
513474cd1b
commit
8f91d1142e
1 changed files with 2 additions and 0 deletions
|
@ -121,6 +121,8 @@ _wait_for_boot_hart:
|
|||
|
||||
_start_warm:
|
||||
/* Disable and clear all interrupts */
|
||||
csrw mideleg, zero
|
||||
csrw medeleg, zero
|
||||
csrw mie, zero
|
||||
csrw mip, zero
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue