feat: implement basic timer

This commit is contained in:
Liam Kerr 2026-05-01 23:14:44 +01:00
parent f76ca1ee31
commit ebdd572f8e
6 changed files with 83 additions and 4 deletions

View file

@ -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();