load_elfcorehdr_segment(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– load_elfcorehdr_segment πŸ’–

okay so bestie, welcome to load_elfcorehdr_segment(9) β€” yes that's the whole title, it's a lot, we love her anyway ✨ this is the section 9 kernel API manual page, and she's lowkey the moment kdump gets its act together πŸŽ€


✨ NAME ✨

load_elfcorehdr_segment β€” sets up the crash memory ranges and initializes the elfcorehdr segment, which is literally what you need to load the kdump kernel. no cap, that's the whole job 🫢


🌸 SYNOPSIS 🌸

int load_elfcorehdr_segment (struct kimage *image , struct kexec_buf
*kbuf );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • image β€” the kexec image. that's her. main character πŸŽ€
  • kbuf β€” the buffer contents and the memory parameters. the whole vibe check for where stuff goes πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

Returns 0 on success, and a negative errno on error. that's it, that's the contract, periodt πŸ’€

fr fr, 0 means slay and anything negative means something went wrong β€” don't sleep on checking it πŸ™ˆ

🧚 SEE ALSO 🧚


aaaand that's the page!! 🌸 she lives in ./arch/powerpc/kexec and this edition is dated October 2026 β€” go forth and load that elfcorehdr segment bestie, you're gonna eat πŸ’…πŸ’–β­

πŸ“¦ where this page comes from