x86_64: print stack trace during panic

This commit is contained in:
2023-05-06 22:18:34 +01:00
parent 90afd997e6
commit 6cf8f4234a
4 changed files with 75 additions and 3 deletions

View File

@@ -21,6 +21,7 @@ extern "C" void ap_trampoline_exit(void)
__this_ap_ok = 1;
ml_cpu_block *this_cpu = (ml_cpu_block *)kmalloc(sizeof *this_cpu, VM_NORMAL);
memset(this_cpu, 0x00, sizeof *this_cpu);
ml_cpu_block_init(this_cpu);
ml_cpu_block_use(this_cpu);