STRUCT PVR_PAGE_FLAGS_RAW(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct pvr_page_flags_raw(9) β€” a Kernel API Manual moment

okay bestie, buckle up, because we're looking at struct pvr_page_flags_raw β€” literally the configurable flags from a single entry in a level 0 page table. that's it, that's the whole vibe. it's the flag-girl of the level 0 page table world πŸ’–


✨ NAME ✨

struct pvr_page_flags_raw β€” the configurable flags pulled out of one single entry in a level 0 page table. yes, level zero. the baby level. iconic behavior honestly πŸŽ€


🌸 SYNOPSIS 🌸

struct pvr_page_flags_raw {
    struct pvr_page_table_l0_entry_raw val;
 };

πŸ¦‹ Members πŸ¦‹

  • val β€” the raw value of these flags, no cap. and listen: since these flags are a strict subset of struct pvr_page_table_l0_entry_raw, you use that type for our member here. strict subset means strict. respect the hierarchy πŸ‘‘

πŸ’œ Description πŸ’œ

so the flags living inside this type are, in order:

  • PM/FW Protect β€” bit 62
  • SLC Bypass Control β€” bit 3
  • Cache Coherency β€” bit 2
  • Read Only β€” bit 1

that's bits 62, 3, 2 and 1 respectively, for the record. not alphabetical, not sequential, just how it is. slay 🌈

⚠️ do NOT instantiate this type directly. like, ever. fr fr. instead use pvr_page_flags_raw_create so you can be sure only valid bits of val are set. it's giving "let the function handle it" and honestly the function should handle it πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

literally the whole extended friend group. here's everyone:


k that's the whole page bestie, go forth and set only valid bits 🫢

signed off from ./drivers/gpu/drm/imagination, dated October 2026 β€” the manual page said struct pvr_page_flags_raw(9) on both ends and honestly? symmetry ate πŸ’…βœ¨

πŸ“¦ where this page comes from