platform_maar_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… platform_maar_init(9) πŸ’…

okay so welcome to the Kernel API Manual, bestie β€” this page is literally all about platform_maar_init, and she is here to perform platform-level MAAR configuration. No cap. ✨

🌸 NAME 🌸

platform_maar_init β€” perform platform-level MAAR configuration. That's the whole assignment, and she ate. πŸ’–

✨ SYNOPSIS ✨

unsigned platform_maar_init (unsigned num_pairs );

πŸŽ€ ARGUMENTS πŸŽ€

  • num_pairs β€” the number of MAAR pairs present in the system. That's the count, bestie. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Platforms should implement this function such that it configures as many MAAR pairs as required, from 0 up to the maximum of num_pairs-1, and returns the number that were used. Highkey important: any further MAARs will be configured to be invalid. 🚨

The default implementation of this function will simply indicate that it has configured 0 MAAR pairs. She's lowkey doing the bare minimum, but she's honest about it. πŸ’€

πŸ’– RETURN πŸ’–

The number of MAAR pairs configured. That's the vibe check result. πŸ‘‘

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./arch/mips/include/asm/maar.h β€” plus the squad: write_maar_pair(9), maar_init(9), struct maar_config(9), maar_config(9). iykyk. 🌈


mwah πŸ’‹ β€” this iconic little page lives under ./arch/mips/include/asm, is dated October 2026, and goes by platform_maar_init(9). periodt. πŸŽ€

πŸ“¦ where this page comes from