From: Tulio A M Mendes Date: Wed, 20 May 2026 12:07:37 +0000 (-0300) Subject: smp: print active CPU count for single-CPU boot X-Git-Url: https://projects.tadryanom.me/?a=commitdiff_plain;h=eead6c0bda5414940b6c0e7c09538467689af1fb;p=AdrOS.git smp: print active CPU count for single-CPU boot smp_start_aps() returned early without printing the 'CPU(s) active.' message when g_cpu_count <= 1, causing the battery test SMP1 boot pattern to fail. Now prints '[SMP] 1 CPU(s) active.' in that case. Battery test: 148/148 PASS (was 147/148 with SMP1 boot FAIL) --- diff --git a/src/arch/x86/smp.c b/src/arch/x86/smp.c index 1b84988e..9a4e6e58 100644 --- a/src/arch/x86/smp.c +++ b/src/arch/x86/smp.c @@ -171,6 +171,7 @@ int smp_enumerate(void) { int smp_start_aps(void) { if (g_cpu_count <= 1) { + kprintf("[SMP] 1 CPU(s) active.\n"); return 1; }