mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 15:31:22 +01: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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user