plpar_hcall_raw(9)
π plpar_hcall_raw(9) β Kernel API Manual π
okay so bestie, welcome to the plpar_hcall_raw(9) page from the Kernel API Manual β¨ this one is lowkey all about making a hypervisor call without calculating hcall stats, and it's giving very real-mode main character energy π
πΈ NAME πΈ
plpar_hcall_raw β make a hypervisor call without calculating hcall stats π«Ά
β¨ SYNOPSIS β¨
long plpar_hcall_raw (unsigned long opcode , unsigned long
retbuf[PLPAR_HCALL_BUFSIZE] , ... );
π ARGUMENTS π
opcodeβ the hypervisor call to make. iconic little opcode, no cap.retbufβ buffer to store up to 4 return arguments in. yes bestie, up to 4 return args....β variable arguments. literally variable arguments, iykyk.
π¦ DESCRIPTION π¦
okay so here's the tea β: this call supports up to 6 arguments and 4 return arguments. use PLPAR_HCALL_BUFSIZE to size the return argument buffer, periodt π
it's used when the phyp interface needs to be called in real mode. it's similar to plpar_hcall, but plpar_hcall_raw works in real mode and does not calculate hypervisor call statistics. that's the vibe: raw hcall, no stats math, no cap π₯
π SEE ALSO π
- Kernel file
./arch/powerpc/include/asm/hvcall.hβ go peek bestie π plpar_hcall_norets(9)β another one to check out π«Ά
mwah π that's the page! source/version vibes: ./arch/powerpc/include/asm; date: October 2026; page: plpar_hcall_raw(9). stay slay, bestie π§π
π¦ 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