函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mtrr\generic.c Create Date:2022-07-27 09:06:16
Last Modify:2022-05-18 17:45:43 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:get_fixed_ranges

函数原型:static void get_fixed_ranges(mtrr_type *frs)

返回类型:void

参数:

类型参数名称
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 i小于2循环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 i小于8循环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])
调用者
名称描述
mtrr_save_fixed_ranges
get_mtrr_stateGrab all of the MTRR state for this CPU into *state