Page MenuHomeFreeBSD

D18738.diff
No OneTemporary

D18738.diff

Index: head/sys/riscv/riscv/mp_machdep.c
===================================================================
--- head/sys/riscv/riscv/mp_machdep.c
+++ head/sys/riscv/riscv/mp_machdep.c
@@ -227,7 +227,6 @@
__asm __volatile("mv gp, %0" :: "r"(pcpup));
/* Workaround: make sure wfi doesn't halt the hart */
- intr_disable();
csr_set(sie, SIE_SSIE);
csr_set(sip, SIE_SSIE);
@@ -252,9 +251,6 @@
/* Start per-CPU event timers. */
cpu_initclocks_ap();
-
- /* Enable interrupts */
- intr_enable();
/* Enable external (PLIC) interrupts */
csr_set(sie, SIE_SEIE);

File Metadata

Mime Type
text/plain
Expires
Tue, May 19, 5:18 PM (3 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33322112
Default Alt Text
D18738.diff (578 B)

Event Timeline