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

Name:set_fixed_range - checks & updates a fixed-range MTRR if it* differs from the value it should have*@msr: MSR address of the MTTR which should be checked and updated*@changed: pointer which indicates whether the MTRR needed to be changed*@msrwords: pointer

Proto:static void set_fixed_range(int msr, bool *changed, unsigned int *msrwords)

Type:void

Parameter:

TypeParameterName
intmsr
bool *changed
unsigned int *msrwords
543  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, lo, hi)
545  If lo != msrwords[0] || hi != msrwords[1] Then
546  Doesn't attempt to pass an error out to MTRR users* because it's quite complicated in some cases and probably not* worth it because the best error handling is to ignore it.
547  * changed = true
Caller
NameDescribe
set_fixed_rangesset_fixed_ranges - checks & updates the fixed-range MTRRs if they* differ from the saved set*@frs: pointer to fixed-range MTRR values, saved by get_fixed_ranges()