Keyboard Work - setting up PLIC, UART, Interrupts

This commit is contained in:
Liam Kerr 2026-02-10 01:21:49 +00:00
parent 4c0a4958a2
commit 50757427be
12 changed files with 295 additions and 68 deletions

View file

@ -1,8 +1,10 @@
#ifndef PANIC_H
#define PANIC_H
void kpanic(const char *reason);
void interrupt_init();
void kpanic(const char *);
void kpanic_force();
void handle_interrupt(unsigned long code);
#define KASSERT(cond, msg) \
if (!(cond)) \