add_rtas_mem_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– add_rtas_mem_range(9) β€” a Kernel API Manual moment ✨

okay bestie, so this is a page from the Kernel API Manual (add_rtas_mem_range(9), we been knew) and honestly it's short but it ATE. let's get into it 🫢


🌸 NAME 🌸

add_rtas_mem_range β€” literally just adds the RTAS region to the memory ranges list you hand it. that's the whole vibe. no cap. πŸ‘‘


✨ SYNOPSIS ✨

int add_rtas_mem_range (struct crash_mem **mem_ranges );

like yes, that's it, that's the whole signature πŸ’… note the double pointer babe, struct crash_mem **, we are modifying the thing.


πŸŽ€ ARGUMENTS πŸŽ€

  • mem_ranges β€” the range list you want the memory range added to. it's the list, and it's a struct crash_mem **, so bestie's getting touched (affectionately) πŸ¦‹

🌈 DESCRIPTION 🌈

okay so the function returns 0 on success ✨ and a negative errno on error 😭 that's literally the entire description, i know, i know, brief king behaviour πŸ‘‘ but those are the facts and we respect them.

note: 0 = slay, negative errno = not slay. keep that in mind.

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group is here, send the group chat:

  • kernel file ./arch/powerpc/kexec/ranges.c β€” that's the home base 🏠

and then the icon squad of functions, all (9):


and yeah that's the page πŸ’œ it lives in ./arch/powerpc/kexec and it's dated October 2026 🌸 the manual section tag is add_rtas_mem_range(9) obviously, our main character ⭐ mwah, go read the whole family, iykyk πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from