STRUCT MAAR_CONFIG(9)
π 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 a2^16byte 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 a2^16byte boundary. yes, one byte before β that's the vibe πattrsβ the accessibility attributes to program, eg.MIPS_MAAR_S. TheMIPS_MAAR_VLattribute 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 π¦
- Kernel file
./arch/mips/include/asm/maar.h platform_maar_init(9)write_maar_pair(9)maar_init(9)maar_config(9)
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
- 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