rtas_function_token(9)
π rtas_function_token β RTAS function token lookup π
okay so bestie, welcome to rtas_function_token(9) from the Kernel API Manual β¨ this one's short and sweet and honestly kind of iconic for it β it's literally just "hey, gimme the token for this RTAS function handle," and the kernel either hands you the goods or tells you nope, not on this platform π
β¨ SYNOPSIS β¨
s32 rtas_function_token (const rtas_fn_handle_t handle );
that's the whole vibe check right there π
π«Ά ARGUMENTS π«Ά
handleβ the function handle you're asking about, likeRTAS_FN_EVENT_SCAN. that's your little ticket, your little name-tag for the RTAS function you want the token for ποΈ
πΈ CONTEXT πΈ
any context. literally any. no cap, no restrictions, she's flexible like that π¦
β RETURN β
the token value for the function if this platform actually implements it. and if the platform doesn't? you get RTAS_UNKNOWN_SERVICE back. that's the "sorry babe, not here" answer ππ
π§ SEE ALSO π§
- Kernel file
./arch/powerpc/kernel/rtas.c struct rtas_function(9)rtas_call_unlocked(9)rtas_call(9)rtas_busy_delay_time(9)rtas_busy_delay(9)rtas_ibm_suspend_me(9)rtas_activate_firmware(9)get_pseries_errorlog(9)
go read those too, they're all part of the same friend group π
bestie this page came straight outta ./arch/powerpc/kernel and it's dated October 2026, part of the Kernel API Manual β that's the whole sign-off, 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