mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-25 07:41:42 +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:
|
_start_warm:
|
||||||
/* Disable and clear all interrupts */
|
/* Disable and clear all interrupts */
|
||||||
|
csrw mideleg, zero
|
||||||
|
csrw medeleg, zero
|
||||||
csrw mie, zero
|
csrw mie, zero
|
||||||
csrw mip, zero
|
csrw mip, zero
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user