centaur_get_free_region(9)
โจ 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
- 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