centaur_get_free_region(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

โœจ NAME โœจ

okay bestie, this is the centaur_get_free_region(9) page from the Kernel API Manual ๐Ÿซถ. The function centaur_get_free_region is here to get a free MTRR โ€” thatโ€™s the whole assignment, and it ate. ๐Ÿ’…


๐ŸŒธ SYNOPSIS ๐ŸŒธ

int centaur_get_free_region (unsigned long base , unsigned long size , int replace_reg );

๐ŸŽ€ ARGUMENTS ๐ŸŽ€

  • base โ€” the starting (base) address of the region ๐Ÿ“. Like, where the region starts, periodt.
  • size โ€” the size of the region, in bytes ๐Ÿงฎ.
  • replace_reg โ€” the page says -- undescribed -- ๐Ÿ˜ญ. Thatโ€™s literally all the description there is, bestie; no extra lore, no cap.

๐Ÿ”ฅ RETURN ๐Ÿ”ฅ

On success, you get the index of the region ๐Ÿ‘‘. On error, you get -1 ๐Ÿ’€. Thatโ€™s it, fr fr.


๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

  • Kernel file: ./arch/x86/kernel/cpu/mtrr/centaur.c โœจ

mwah ๐Ÿ’‹ this little page comes from the ./arch/x86/kernel/cpu/mtrr source/version and is dated October 2026 โ€” iconic, bye! ๐ŸŒˆ

๐Ÿ“ฆ where this page comes from