STRUCT PRUSS_INT_MAP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ 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 given chnl. 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