setup_purgatory_ppc64(9)
πΈ 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, negativeerrno= something went off, go read the errno π
π₯ SEE ALSO π
Kernel file ./arch/powerpc/kexec/file_load_64.c β the source herself, go pay respects π
check_realloc_usable_mem(9)add_usable_mem(9)kdump_setup_usable_lmb(9)add_usable_mem_property(9)update_usable_mem_fdt(9)load_backup_segment(9)load_elfcorehdr_segment(9)load_crashdump_segments_ppc64(9)cpu_node_size(9)kexec_extra_fdt_size_ppc64(9)setup_new_fdt_ppc64(9)arch_kexec_kernel_image_probe(9)arch_kimage_file_post_load_cleanup(9)
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
- 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