函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mtrr\generic.c |
Create Date:2022-07-27 09:06:22 |
Last Modify:2022-05-18 17:45:43 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:void mtrr_wrmsr(unsigned msr, unsigned a, unsigned b)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned | msr | |
unsigned | a | |
unsigned | b |
526 | 如果wrmsr with exception handling 小于0则 |
名称 | 描述 |
---|---|
k8_check_syscfg_dram_mod_en | 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 |
set_fixed_range | 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 |
set_mtrr_var_ranges | Set the MSR pair relating to a var range.* Returns true if changes are made. |
prepare_set | Since we are disabling the cache don't allow any interrupts,* they would run extremely slow and would only increase the pain.* The caller must ensure that local interrupts are disabled and* are reenabled after post_set() has been called. |
post_set | |
generic_set_mtrr | generic_set_mtrr - set variable MTRR register on the local CPU.*@reg: The register to set.*@base: The base address of the region.*@size: The size of the region. If this is 0 the region is disabled.*@type: The type of the region.* Returns nothing. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |