smp_startup_cpu(9)
π smp_startup_cpu(9) β Kernel API Manual, bestie edition π
okay so this is <pink>smp_startup_cpu</pink> from the Kernel API Manual, and it's literally the function that gets a cpu up and running. short king of a man page, but we move. β¨
πΈ NAME πΈ
smp_startup_cpu β start the given cpu. that's it, that's the whole vibe. π
π¦ SYNOPSIS π¦
int smp_startup_cpu (unsigned int lcpu );
π ARGUMENTS π
lcpuβ honestly?<purple>-- undescribed --</purple>. the docs said nothing, she's a mystery, we simply do not know. π (no cap, that's verbatim what the page says, don't come for me)
β¨ DESCRIPTION β¨
so there's this thing at boot time: for the primary threads that were started from Open Firmware, there is nothing to do. like, zero tasks, she's already seated, main character energy from the jump. π«Ά
for anything else, you call RTAS with the appropriate start location. that's the whole job. iykyk. π₯
β RETURN β
0β failure π1β success π
(and yes bestie, that's the real order, 0 is the sad one here. read it twice, i had to.)
π SEE ALSO π
- Kernel file
./arch/powerpc/platforms/pseries/smp.cβ go read the source, it's giving lore β¨
and that's the page!! π¦ this lil icon came to you from the source/version ./arch/powerpc/platforms/pseries, dated October 2026 β mwah, stan, periodt. ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms