sync_backup_region_phdr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– sync_backup_region_phdr(9) πŸ’– β€” Kernel API Manual, bestie ✨

okay so welcome to the Kernel API Manual page for sync_backup_region_phdr(9) β€” this is the group chat where we synchronize the backup region offset between the kexec image and the ELF core header. No cap, that's the whole vibe. 🫢


✨ NAME ✨

sync_backup_region_phdr β€” synchronizes the backup region offset between the kexec image and the ELF core header. Periodt. πŸ’…

🌸 SYNOPSIS 🌸

void sync_backup_region_phdr (struct kimage *image , Elf64_Ehdr *ehdr ,
       bool phdr_to_kimage );

πŸ’œ ARGUMENTS πŸ’œ

  • image β€” Kexec image. Like, the kexec image in question, bestie. πŸ–ΌοΈ
  • ehdr β€” ELF core header. The ELF core header, exactly. 🧚
  • phdr_to_kimage β€” If true, read the offset from the ELF program header and update the kimage backup region. If false, update the ELF program header offset from the kimage backup region. Direction matters, okay? πŸ”

πŸŽ€ NOTE πŸŽ€

okay so during kexec_load, this is called with phdr_to_kimage = true. For kexec_file_load and ELF core header recreation during memory hotplug events, it is called with phdr_to_kimage = false.

Returns nothing. Yep, literally no return value β€” it's giving void main character energy. πŸ’€βœ¨

πŸ¦‹ SEE ALSO πŸ¦‹


okay bye bestie πŸ’‹ this sync_backup_region_phdr(9) page is from ./arch/powerpc/kexec and dated October 2026 β€” slay and see you in the kernel source. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from