STRUCT PVR_FW_MIPS_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so bestie, welcome to the Kernel API Manual β€” this one's a kernel struct page and it's literally the little info bundle that holds all the MIPS-specific data for the PowerVR firmware loader. it's giving "backstage pass to the MIPS boot process" energy, and honestly? iconic. 🧚✨


🌸 SYNOPSIS 🌸

struct pvr_fw_mips_data {
    struct page *pt_pages[PVR_MIPS_PT_PAGE_COUNT];
    u32 *pt;
    dma_addr_t pt_dma_addr[PVR_MIPS_PT_PAGE_COUNT];
    dma_addr_t boot_code_dma_addr;
    dma_addr_t boot_data_dma_addr;
    dma_addr_t exception_code_dma_addr;
    u32 cache_policy;
    u32 pfn_mask;
 };

like, that's the whole shape of it β€” copy it exactly bestie, no cap, not a single character changed. πŸ’…


πŸŽ€ Members πŸŽ€

  • pt_pages β€” these are the pages holding the MIPS pagetable. the actual storage, the real estate, the moments. 🏠
  • pt β€” a pointer to the CPU mapping of the MIPS pagetable, so the CPU can actually get in there and look around. πŸ‘€
  • pt_dma_addr β€” the DMA mappings of the MIPS pagetable β€” same pagetable, DMA-flavoured address era. ✨
  • boot_code_dma_addr β€” the DMA address of the MIPS boot code. the main-character entrance, basically. πŸ‘‘
  • boot_data_dma_addr β€” the DMA address of the MIPS boot data β€” everything the boot code needs to slay. πŸ“
  • exception_code_dma_addr β€” the DMA address of the MIPS exception code, aka the "when things go sideways" contingency. and they WILL go sideways, so this is highkey important. πŸ’€
  • cache_policy β€” the cache policy for this processor. the vibe check for caching, fr fr. 🌈
  • pfn_mask β€” the PFN mask for MIPS pagetable β€” the masking moment, we love to see it. πŸŽ€

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/gpu/drm/imagination/pvr_fw_mips.h β€” go read the header bestie, iykyk 🫢

πŸ’– reminder: every field above is listed in the order the struct declares it, and the option-ish names are literal C members β€” don't go renaming them in your head, the compiler will not be forgiving and neither will i 😭

that's the whole page!! it lives under ./drivers/gpu/drm/imagination, dated October 2026 in the Kernel API Manual β€” mwah, go forth and boot some MIPS firmware, you've got this πŸ’…βœ¨πŸ¦‹πŸ’–

πŸ“¦ where this page comes from