rtas_busy_delay(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rtas_busy_delay: the Kernel API Manual bestie briefing πŸŽ€

okay so real talk, this one is straight out of the Kernel API Manual and it's lowkey one of the most useful little helpers in the powerpc/RTAS corner of the kernel. the name is rtas_busy_delay and honestly? it's giving "designated driver for your RTAS calls" energy. πŸ¦‹


✨ NAME ✨

rtas_busy_delay β€” the helper for RTAS busy and extended delay statuses. yes, both. she multitasks. πŸ’…


🌸 SYNOPSIS 🌸

bool __ref rtas_busy_delay (int status );

that's it. one arg, one bool back, and __ref in there because she lives in a special section. no cap. ⭐


πŸŽ€ ARGUMENTS πŸŽ€

  • status β€” a value you got back from rtas_call or similar APIs that return the status of a RTAS function call. like, literally hand her the status the firmware gave you and she'll do the vibe check on it. 🫢

πŸ‘‘ CONTEXT πŸ‘‘

Process context. she may sleep or schedule, so do NOT roll up with this in atomic context, bestie. she needs room to nap. 😴


πŸ”₯ RETURN πŸ”₯

  • true β€” the status is RTAS_BUSY or an extended delay hint. you may assume the CPU has been yielded if necessary, and that an appropriate delay for status has elapsed. generally? you should reattempt the RTAS call which yielded status. she did the waiting so you don't have to, slay. ✨

πŸ’€ DESCRIPTION πŸ’€

  • false β€” the status is neither RTAS_BUSY nor an extended delay hint. you're responsible for handling status yourself now. she's off the clock for this one, it's your main character moment. πŸ™ˆ
fr fr, the true bullet lives under RETURN and the false bullet lives under DESCRIPTION in the original and honestly? quirky layout, but we respect her choices. both bullets are here, nothing lost. πŸ’œ

🌈 SEE ALSO 🌈

Kernel file ./arch/powerpc/kernel/rtas.c β€” go read the source, iykyk:

go be obsessed with the whole squad, they're all iconic. 🧚


and that's the whole page, bestie πŸ“ β€” brought to you from ./arch/powerpc/kernel, dated October 2026, and yes the date is in the future, don't ask, it's a whole thing. mwah πŸ’–πŸŒΈ

πŸ“¦ where this page comes from