Read RFLAGS register at panic

This commit is contained in:
2026-03-14 10:13:53 +01:00
parent 6ceccb2374
commit 6a3abb0f55
3 changed files with 62 additions and 6 deletions

View File

@@ -46,7 +46,7 @@ void debug_stack_trace(unsigned int max_frames)
rbp = next_rbp;
}
if (init.terminal) {
printf("*** end stack trace ***\x1b[0m");
printf("*** end stack trace ***\r\nHalting system...\x1b[0m");
}
DEBUG("*** end stack trace ***");
}