smp_startup_cpu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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