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

@ -2,6 +2,7 @@
#include <stddef.h>
#include <drivers/uart.h>
#include <syscon/syscon.h>
#include <kernel/plic.h>
#include <kernel/interrupts.h>
#include <kernel/memory.h>
@ -11,9 +12,8 @@ void kmain()
kprintf("Hello, from %s!", "SquidgeOS");
kputs("----------------------");
knewline();
plic_init();
uart_init();
page_init();
test_memory_integrity();
test_memory_alignment();
test_memory_stress();
poweroff();
interrupt_init();
}