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:03
Last Modify:2022-05-18 17:45:43 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Get the MSR pair relating to a var range

Proto:static void get_mtrr_var_range(unsigned int index, struct mtrr_var_range *vr)

Type:void

Parameter:

TypeParameterName
unsigned intindex
struct mtrr_var_range *vr
318  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(MTRRphysBase_MSR(index), base_lo, base_hi)
319  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(MTRRphysMask_MSR(index), mask_lo, mask_hi)
Caller
NameDescribe
get_mtrr_stateGrab all of the MTRR state for this CPU into *state