Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mtrr\generic.c Create Date:2022-07-28 08:06:04
Last Modify:2022-05-18 17:45:43 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_fixed_ranges

Proto:static void get_fixed_ranges(mtrr_type *frs)

Type:void

Parameter:

TypeParameterName
mtrr_type *frs
338  p = frs
341  BIOS is expected to clear MtrrFixDramModEn bit, see for example* "BIOS and Kernel Developer's Guide for the AMD Athlon 64 and AMD* Opteron Processors" (26094 Rev. 3.30 February 2006), section* "13
343  Access to machine-specific registers (available on 586 and better only)* Note: the rd* operations modify the parameters directly (without using* pointer indirection), this allows gcc to optimize better(MSR_MTRRfix64K_00000, p[0], p[1])
345  When i < 2 cycle Access to machine-specific registers (available on 586 and better only)* Note: the rd* operations modify the parameters directly (without using* pointer indirection), this allows gcc to optimize better(MSR_MTRRfix16K_80000 + i, p[2 + i * 2], p[3 + i * 2])
347  When i < 8 cycle Access to machine-specific registers (available on 586 and better only)* Note: the rd* operations modify the parameters directly (without using* pointer indirection), this allows gcc to optimize better(MSR_MTRRfix4K_C0000 + i, p[6 + i * 2], p[7 + i * 2])
Caller
NameDescribe
mtrr_save_fixed_ranges
get_mtrr_stateGrab all of the MTRR state for this CPU into *state