STRUCT PRUSS_INT_MAP(9)
π struct pruss_int_map(9) β like, the PRU system events β channel β host mapping situation
okay so bestie, welcome to the Kernel API Manual and honestly? this one's a little struct with a big job. it lives in the kernel and it's literally the receipt that says which event went to which channel and which host got the interrupt. iykyk π
β¨ NAME β¨
struct pruss_int_map β the PRU system events to channel and host mapping. no cap, that's the whole vibe of it.
πΈ SYNOPSIS πΈ
struct pruss_int_map {
u8 event;
u8 chnl;
u8 host;
};
three little u8 fields, one giant slay. π«Ά
π¦ MEMBERS π¦
eventβ the number of the system event. that's the number, bestie, it's how we know which event we're talking about πchnlβ the channel number assigned to that given event. so like, event goes in, channel comes out β¨hostβ the host number assigned to a givenchnl. yes, the channel's host. the chain continues, we stay mapping π
π DESCRIPTION π
okay so here's the lore, and it's actually iconic: PRU system events get mapped to channels, and then those channels get mapped to host interrupts. it's a two-step pipeline and the struct above is holding the whole group chat together fr fr.
and the ratios? extremely flexible, which is lowkey the best part:
- events β channels: can be one-to-one or many-to-one (meaning multiple events per channel π«Ά)
- channels β host interrupts: can be one-to-one or many-to-one (meaning multiple channels per interrupt π₯)
so yeah, don't assume it's always a clean 1:1 match β multiple events can pile into a single channel, and multiple channels can pile into a single interrupt. it's giving "found family, everyone under one roof" energy and honestly? we love that for them.
π§ SEE ALSO π§
- Kernel file
./drivers/remoteproc/pru_rproc.h struct pru_irq_rsc(9)
go read those next, bestie, they're the sequel π
and that's the whole page!! π this little writeup came out of ./drivers/remoteproc, dated October 2026, and it's filed under struct pruss_int_map(9). mwah, bye, go map some events π
β¨
π¦ 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