STRUCT PRUSS_INTC_MAP_RECORD(9)
π struct pruss_intc_map_record(9) π
okay so this is a page from the Kernel API Manual, and babes, it's a short one but it's lowkey iconic. we're talking about struct pruss_intc_map_record β and what it does is literally just keep track of the actual mapping state. that's the whole job. main character energy, minimal effort, no notes. β¨
πΈ NAME πΈ
struct pruss_intc_map_record β keeps track of actual mapping state π
π¦ SYNOPSIS π¦
struct pruss_intc_map_record {
u8 value;
u8 ref_count;
};
like, that's it. two little u8s and a dream π
π Members π
so there's exactly two members and honestly? they're both doing their thing. slay.
valueβ the currently mapped value, which is either a channel or a host depending on what's going on. that's it, that's the vibe. π«Άref_countβ keeps track of the number of current users of this resource. it's the little counter going "how many of y'all are using this rn" and honestly we respect the bookkeeping. no cap. π₯
π SEE ALSO π
go check out this kernel file, fr fr:
./drivers/irqchip/irq-pruss-intc.c
and also these cuties, all of them, no skipping: π
struct pruss_intc_match_data(9)struct pruss_intc(9)struct pruss_host_irq_data(9)pruss_intc_map(9)pruss_intc_unmap(9)
ngl this struct is small but it's carrying the mapping state on its back. respect her. πβ¨
πΈπ that's the whole page bestie, mwah ππΈ
./drivers/irqchip Β· October 2026 Β· struct pruss...c_map_record(9) β and that's the sign-off, periodt. πβ¨
π¦ 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