STRUCT PVR_FW_MIPS_DATA(9)
π 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
- 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