STRUCT PAPR_SYSPARM_BUF(9)
πΈ 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
- 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