mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-11-20 02:22:19 +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:
1 parent
513474cd1b
commit
8f91d1142e
1 file changed
+2
@@ -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