setup_purgatory_ppc64(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 setup_purgatory_ppc64 β€” NAME πŸ’…

okay bestie, so this is setup_purgatory_ppc64, and it's literally from the Kernel API Manual (yes, the big one, we're fancy now πŸ‘‘). What does it do? It initializes the PPC64-specific global variables of the purgatory (look at her, being all arch-specific and special ✨), and then it calls setup_purgatory() to initialize the common global variable. Two jobs, one function, main character energy fr fr.


🫢 SYNOPSIS

int setup_purgatory_ppc64 (struct kimage *image , const void *slave_code
, const void *fdt , unsigned long kernel_load_addr , unsigned long
fdt_load_addr );

πŸŽ€ ARGUMENTS ✨

  • image β€” the kexec image. that's her.
  • slave_code β€” the slave code for the purgatory πŸ‘€
  • fdt β€” the Flattened device tree for the next kernel 🌳
  • kernel_load_addr β€” the address where the kernel is loaded πŸ“
  • fdt_load_addr β€” the address where the flattened device tree is loaded πŸ“

πŸ’– DESCRIPTION 🌈

Returns 0 on success, and a negative errno on error. that's it, that's the vibe check πŸ¦‹

ngl bestie, this one's short but she's important. 0 = slay, negative errno = something went off, go read the errno πŸ’€

πŸ”₯ SEE ALSO πŸ‘‘

Kernel file ./arch/powerpc/kexec/file_load_64.c β€” the source herself, go pay respects πŸ™


okay that's the whole page bestie, ily, go read the kernel source πŸ§šβ€β™€οΈ β€” this little masterpiece lives in <pink>./arch/powerpc/kexec</pink>, dated October 2026, and it's page setup_purgatory_ppc64(9) of the Kernel API Manual πŸ’œπŸŽ€

πŸ“¦ where this page comes from