Enable machine interrupts
This commit is contained in:
parent
cc65500434
commit
2f28f9268a
@ -154,9 +154,9 @@ index 0ae604a..000b89c 100644
|
||||
+
|
||||
+ sbi_printf("Timer enabled in PLIC\n");
|
||||
+
|
||||
+// /* Enable external timer interrupts */
|
||||
+// csr_set(CSR_MIE, MIE_MEIE); /* Needed? */
|
||||
+// csr_set(CSR_MSTATUS, MSTATUS_MIE); /* Needed? */
|
||||
+ /* Enable external timer interrupts */
|
||||
+ csr_set(CSR_MIE, MIE_MEIE); /* Needed? */
|
||||
+ csr_set(CSR_MSTATUS, MSTATUS_MIE); /* Needed? */
|
||||
+
|
||||
+ /*
|
||||
+ * Clear mip CSR before proceeding with init to avoid any spurious
|
||||
|
Loading…
Reference in New Issue
Block a user