STRUCT PAPR_SYSPARM_BUF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct papr_sysparm_buf(9) 🌸

okay bestie, welcome to the Kernel API Manual, section 9 β€” today's main character is struct papr_sysparm_buf, and honestly? she's a little layout queen πŸ’…


πŸŽ€ NAME πŸŽ€

struct papr_sysparm_buf β€” the RTAS work area layout for system parameter functions. that's it, that's the vibe ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct papr_sysparm_buf {
    __be16 len;
    u8 val[PAPR_SYSPARM_MAX_OUTPUT];
 };

like, look at her. two members. zero notes. iconic 🫢


🧚 MEMBERS 🧚

ngl the page doesn't spell out extra member-by-member commentary here beyond what you already see in the synopsis above β€” so we're not gonna invent any πŸ™ˆ the struct itself is literally right there in the SYNOPSIS, go off king πŸ‘‘


✨ DESCRIPTION ✨

okay so here's the tea β˜• β€” this struct is the memory layout of the buffers that get passed to and from ibm,get-system-parameter and ibm,set-system-parameter. those are the RTAS calls, and this is the shape of the work area you hand them. slay πŸ’–

and the important little detail: this thing is distinct from the papr_sysparm_io_block structure β€” that's the other one, the one that gets passed between user space and the kernel. different struct, different job, don't mix them up bestie πŸ˜­βœ‹


πŸ’… SEE ALSO πŸ’…

  • the kernel file ./arch/powerpc/include/asm/papr-sysparm.h β€” go read it, iykyk πŸ“–

and that's the whole page, bestie β€” short, sweet, and struct-shaped πŸ“

signing off from ./arch/powerpc/include/asm, dated October 2026 β€” catch you in the next manpage, mwah πŸ’œπŸ¦‹βœ¨

πŸ“¦ where this page comes from