函数逻辑报告

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:23
Last Modify:2022-05-18 17:45:43 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static void set_fixed_range(int msr, bool *changed, unsigned int *msrwords)

返回类型:void

参数:

类型参数名称
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  如果lo不等于msrwords[0]或hi不等于msrwords[1]则
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
调用者
名称描述
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()