corrects exit

This commit is contained in:
2026-03-21 20:15:33 +01:00
parent 4cfa80d7a6
commit 124783a57c

View File

@@ -124,5 +124,7 @@ void _exit(int exit_code) {
// Halt
while (1) {
__asm__ volatile ("wfi");
// Incase periodic interrupts are scheduled (e.g. timer), additionaly jump to self
for (;;);
}
}