setup_purgatory(9)
π¦ setup_purgatory π¦
okay bestie, this is setup_purgatory(9) from the Kernel API Manual, and it's giving βtiny setup function with big main-character energyβ π
πΈ NAME πΈ
setup_purgatory β initialize the purgatory's global variables. periodt. β¨
π SYNOPSIS π
int setup_purgatory (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 the vibe. π«Άslave_codeβ the slave code for the purgatory. iconic. πfdtβ the flattened device tree for the next kernel. yes bestie πΈkernel_load_addrβ the address where the kernel is loaded. noted. πfdt_load_addrβ the address where the flattened device tree is loaded. slay. β¨
π₯ RETURN π₯
0 on success, or a negative errno on error. no cap β that's the whole return contract, bestie. π
π SEE ALSO π
- the Kernel file
./arch/powerpc/kexec/file_load.c setup_kdump_cmdline(9)
okay bye bestie π«Ά this page's source/version is ./arch/powerpc/kexec, and it's dated October 2026. mwah π
π¦ 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