add: kpanic

This commit is contained in:
2024-09-22 09:54:56 +02:00
parent 283f073124
commit 2728346711
11 changed files with 58 additions and 50 deletions

View File

@ -7,7 +7,7 @@ void print_stack(void)
(struct stackframe *)__builtin_frame_address(0);
while (stack) {
kprintf(KERN_DEBUG "fn: %d\n", stack->eip);
kprintf(KERN_DEBUG "fn: %p\n", stack->eip);
stack = stack->ebp;
}
}