feat: implement basic timer
This commit is contained in:
parent
f76ca1ee31
commit
ebdd572f8e
6 changed files with 83 additions and 4 deletions
|
|
@ -16,6 +16,7 @@
|
|||
#define PLIC_CLAIM(hart) ((volatile uint32_t *)(PLIC_BASE + 0x200004 + (hart) * 0x1000))
|
||||
|
||||
#define UART_IRQ 10
|
||||
#define TIMER_IRQ 5
|
||||
|
||||
void plic_init();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue