ev_int_get_config(9)
π ev_int_get_config(9) β like, the Kernel API Manual bestie β¨
okay so this one's from the Kernel API Manual, and it's genuinely such a clean little function. no cap, it just tells you stuff. we love an informational king π
πΈ NAME πΈ
ev_int_get_config β returns the config of the specified interrupt. that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
unsigned int ev_int_get_config (unsigned int interrupt , uint32_t
*config , unsigned int *priority , uint32_t *destination );
literally just hand it the numbers and the pointers and it fills in the blanks for you, periodt π«Ά
π¦ ARGUMENTS π¦
interruptβ the interrupt number. this is the one you're asking about, the main character of the query πconfigβ the returned configuration for this interrupt. it gets written back here, so pass a pointer you actually own, okay? πpriorityβ the returned interrupt priority. also a return slot, also needs somewhere real to land β¨destinationβ the returned destination CPU number. like, which CPU is this thing headed to π§
π₯ DESCRIPTION π₯
Returns 0 for success, or an error code. that's the whole description, bestie β no lore, no plot twist, just a return value doing its job π
so like, check the return value. 0 = slay, anything else = read the error code and go fix it π
π SEE ALSO π
- Kernel file
./arch/powerpc/include/asm/epapr_hcalls.hβ the source of truth, go read it iykyk π ev_int_set_config(9)ev_int_set_mask(9)ev_int_get_mask(9)ev_int_eoi(9)ev_byte_channel_send(9)ev_byte_channel_receive(9)ev_byte_channel_poll(9)ev_int_iack(9)ev_doorbell_send(9)ev_idle(9)
like the whole friend group fr fr π
and that's the page!! brought to you by ./arch/powerpc/include/asm, dated October 2026, filed under ev_int_get_config(9) β 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