We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5a8967 commit d61d5d7Copy full SHA for d61d5d7
src/runtime/runtime_fe310.go
@@ -24,6 +24,9 @@ func main() {
24
sifive.PLIC.ENABLE[0].Set(0)
25
sifive.PLIC.ENABLE[1].Set(0)
26
27
+ // Zero the threshold value to allow all priorities of interrupts.
28
+ sifive.PLIC.THRESHOLD.Set(0)
29
+
30
// Set the interrupt address.
31
// Note that this address must be aligned specially, otherwise the MODE bits
32
// of MTVEC won't be zero.
0 commit comments