smp: let other processors run threads

This commit is contained in:
Matheus
2023-11-30 17:54:32 -03:00
parent 1b7e671a6d
commit 57c94ebf15
7 changed files with 82 additions and 25 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
#include <kernel/interrupt.h>
__attribute__((noreturn)) void _panic(char *msg, context_t *ctx) {
printf("Oops.\n");
printf("cpu%lu: Oops.\n", _cpu()->id);
if (msg)
printf("%s\n", msg);