Fix PANIC macro

This commit is contained in:
Fabio Scotto di Santolo
2025-12-19 16:15:50 +01:00
parent f71bfa68f6
commit a89597d35c
3 changed files with 8 additions and 6 deletions

View File

@@ -42,6 +42,8 @@ void kernel_main(void)
printf("offsetof(sbiret, error) = %x\n", offsetof(sbiret, error));
printf("offsetof(sbiret, value) = %x\n", offsetof(sbiret, value));
PANIC("booted!");
while(1) {
// wfi -> wait for interrupt
__asm__ __volatile__("wfi");