Actual Crashdump
This commit is contained in:
parent
1b057a4e06
commit
41f98890f8
|
@ -275,22 +275,40 @@ void IdtEarlyExceptionHandler(ISRFrame_t *regs)
|
||||||
int recoverable = 0;
|
int recoverable = 0;
|
||||||
|
|
||||||
if (!recoverable) {
|
if (!recoverable) {
|
||||||
KeStartPanic("[ISR 0x%x] Irrecoverable Kernel %s\n"
|
KeStartPanic("[ISR 0x%x] Irrecoverable Kernel %s\n\n"
|
||||||
" Error code : 0x%x\n"
|
" Error code : %p\n\n"
|
||||||
" RIP:\t\t%p\n"
|
" RIP: %p CS: %p RSP: %p\n"
|
||||||
" CS:\t\t%p\n"
|
" SS: %p RAX: %p RBX: %p\n"
|
||||||
" RFLAGS:\t%022b\n"
|
" RCX: %p RDX: %p RSI: %p\n"
|
||||||
" RSP:\t\t%p\n"
|
" RDI: %p RBP: %p R8: %p\n"
|
||||||
" SS:\t\t%p\n",
|
" R9: %p R10: %p R11: %p\n"
|
||||||
|
" R12: %p R13: %p R14: %p\n"
|
||||||
|
" R15: %p RFLAGS: %022b",
|
||||||
regs->intNo,
|
regs->intNo,
|
||||||
ExceptionsChar[regs->intNo],
|
ExceptionsChar[regs->intNo],
|
||||||
regs->ErrorCode,
|
regs->ErrorCode,
|
||||||
regs->rip,
|
regs->rip,
|
||||||
regs->cs,
|
regs->cs,
|
||||||
regs->rflags,
|
|
||||||
regs->rsp,
|
regs->rsp,
|
||||||
regs->ss
|
regs->ss,
|
||||||
|
regs->regs[0],
|
||||||
|
regs->regs[1],
|
||||||
|
regs->regs[2],
|
||||||
|
regs->regs[3],
|
||||||
|
regs->regs[4],
|
||||||
|
regs->regs[5],
|
||||||
|
regs->regs[6],
|
||||||
|
regs->regs[7],
|
||||||
|
regs->regs[8],
|
||||||
|
regs->regs[9],
|
||||||
|
regs->regs[10],
|
||||||
|
regs->regs[11],
|
||||||
|
regs->regs[12],
|
||||||
|
regs->regs[13],
|
||||||
|
regs->regs[14],
|
||||||
|
regs->rflags
|
||||||
);
|
);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
bprintf(BStdOut, "[ISR 0x%x] %s\n", regs->intNo, ExceptionsChar[regs->intNo]);
|
bprintf(BStdOut, "[ISR 0x%x] %s\n", regs->intNo, ExceptionsChar[regs->intNo]);
|
||||||
BStdOut->flusher(BStdOut);
|
BStdOut->flusher(BStdOut);
|
||||||
|
|
|
@ -72,6 +72,7 @@ void IoDoTone(uint tone, uint time)
|
||||||
|
|
||||||
void IoDoStarWars(void)
|
void IoDoStarWars(void)
|
||||||
{
|
{
|
||||||
|
IoDoTone(0,0);
|
||||||
|
|
||||||
struct Note {
|
struct Note {
|
||||||
uint tone;
|
uint tone;
|
||||||
|
|
Loading…
Reference in New Issue