STRUCT MAAR_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct maar_config β€” MAAR configuration data πŸ’–

okay bestie, welcome to the Kernel API Manual β€” we're looking at the struct maar_config(9) page, and it's literally the config data for a pair of MAARs. Let's get into it 🫢


✨ SYNOPSIS ✨

       struct maar_config {
           phys_addr_t lower;
           phys_addr_t upper;
           unsigned attrs;
        };

🧚 Members 🧚

  • lower β€” the lowest address that the MAAR pair will affect. It must be aligned to a 2^16 byte boundary. no cap, alignment is not optional here πŸ’…
  • upper β€” the highest address that the MAAR pair will affect. It must be aligned to one byte before a 2^16 byte boundary. yes, one byte before β€” that's the vibe 😭
  • attrs β€” the accessibility attributes to program, eg. MIPS_MAAR_S. The MIPS_MAAR_VL attribute will automatically be set. so you don't have to do it yourself, iconic behavior honestly ✨

🌸 Description 🌸

This struct describes the configuration of a pair of Memory Accessibility Attribute Registers β€” applying attributes from attrs to the range of physical addresses from lower to upper inclusive. inclusive inclusive, bestie, both ends are in the range πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹


that's the whole page, bestie πŸ’… source/version line is from ./arch/mips/include/asm, dated October 2026, and the manual is struct maar_config(9) β€” bye and slay πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from