STRUCT PRU_IRQ_RSC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct pru_irq_rsc(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” today’s main character is struct pru_irq_rsc, and it’s literally giving PRU firmware section header for IRQ data. no cap. ✨


🌸 NAME 🌸

struct pru_irq_rsc β€” PRU firmware section header for IRQ data πŸŽ€


✨ SYNOPSIS ✨

here’s the exact shape, bestie β€” keep the punctuation exactly as it is:

       struct pru_irq_rsc {
           u8 type;
           u8 num_evts;
           struct pruss_int_map pru_intc_map[];
        };

πŸ¦‹ Members πŸ¦‹

  • type β€” resource type πŸ’…
  • num_evts β€” number of described events πŸ”₯
  • pru_intc_map β€” PRU interrupt routing description 🌈

🧚 Description 🧚

okay so here’s the vibe: the PRU firmware blob can contain an optional .pru_irq_map ELF section, and that section provides the PRUSS interrupt mapping description. iconic. πŸ’«

The pru_irq_rsc struct describes resource entry format. periodt. 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/remoteproc/pru_rproc.h πŸ“
  • struct pruss_int_map(9) πŸ¦‹

mwah πŸ’‹ this page is sourced from ./drivers/remoteproc, dated October 2026, and it’s all about struct pru_irq_rsc(9). bye bestie, go read your ELF sections 🫢✨

πŸ“¦ where this page comes from