rtas_call_unlocked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ rtas_call_unlocked(9) ✨

okay so this is a page from the Kernel API Manual bestie, and it's all about rtas_call_unlocked β€” a little function that goes and pokes RTAS firmware without doing the whole synchronization thing πŸ’…


πŸŽ€ NAME πŸŽ€

rtas_call_unlocked β€” literally invoke an RTAS firmware function without synchronization, no cap 🫢


🌸 SYNOPSIS 🌸

void rtas_call_unlocked (struct rtas_args *args , int token , int nargs
, int nret , ... );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • args β€” the RTAS parameter block that's gonna be used for the call. it's giving "must obey RTAS addressing constraints" energy, so like, respect that fr fr πŸ™ˆ
  • token β€” identifies which function is being invoked. iykyk ✨
  • nargs β€” how many input parameters there are. does not include the token, bestie, keep that separate πŸ’€
  • nret β€” how many output parameters there are, and yes that count does include the call status πŸ‘‘
  • ... β€” the actual list of nargs input parameters. slay 🌈

πŸ’– DESCRIPTION πŸ’–

so what it does is invoke the RTAS function indicated by token, and the caller should get that token via rtas_function_token. iconic behavior, no notes ⭐

it's similar to rtas_call, but here's the tea: you can only use this one with a limited set of RTAS calls that are specifically exempted from the general requirement that only one RTAS call may be in progress at any time. like, that's the whole rule and these calls are the special exceptions 🧚

examples include stop-self and ibm,nmi-interlock β€” those two are the main character exceptions πŸ’œ


πŸ”₯ SEE ALSO πŸ”₯


okay that's the whole page, go forth and call your firmware responsibly πŸ“

<cute sign-off>mwah πŸ’‹ this came from ./arch/powerpc/kernel and it's dated October 2026 β€” see u then, bestie πŸŽ€βœ¨</cute sign-off>

πŸ“¦ where this page comes from