amd_set_mtrr(9)
π
amd_set_mtrr(9) π
okay so welcome to the Kernel API Manual, bestie β this is the page for amd_set_mtrr(9), and it is literally about setting a variable MTRR register on the local CPU. iconic little kernel-function energy, no cap π«Ά
πΈ NAME πΈ
amd_set_mtrr β Set variable MTRR register on the local CPU.
β¨ SYNOPSIS β¨
void amd_set_mtrr (unsigned int reg , unsigned long base , unsigned long
size , mtrr_type type );
π ARGUMENTS π
regβ-- undescribed --π the manpage says it, not me!baseβ-- undescribed --πsizeβ-- undescribed --πtypeβ-- undescribed --π«
π DESCRIPTION π
okay so here's the actual tea, bestie: reg is the register to set. base is the base address of the region. size is the size of the region β and if this is 0, the region is disabled. type is the type of the region. that's the whole rundown β¨
and yeah: it returns nothing. no return value, no little gift, just vibes π
π₯ SEE ALSO π₯
- Kernel file
./arch/x86/kernel/cpu/mtrr/amd.cπ
mwah π that's the whole page, bestie. source/version is ./arch/x86/kernel/cpu/mtrr, dated October 2026 β slay and goodbye π«Άβ¨
π¦ 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