函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mtrr\generic.c |
Create Date:2022-07-27 09:06:27 |
Last Modify:2022-05-18 17:45:43 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Set the MSR pair relating to a var range.* Returns true if changes are made.
函数原型:static bool set_mtrr_var_ranges(unsigned int index, struct mtrr_var_range *vr)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | index | |
struct mtrr_var_range * | vr |
661 | bool changed = false |
664 | 如果base_lo按位与0xfffff0ffUL的值不等于lo按位与0xfffff0ffUL的值或base_hi按位与size_and_mask右移32减PAGE_SHIFT determines the page size 位的值不等于hi按位与size_and_mask右移32减PAGE_SHIFT determines the page size 位的值则 |
669 | changed = true |
674 | 如果mask_lo按位与0xfffff800UL的值不等于lo按位与0xfffff800UL的值或mask_hi按位与size_and_mask右移32减PAGE_SHIFT determines the page size 位的值不等于hi按位与size_and_mask右移32减PAGE_SHIFT determines the page size 位的值则 |
678 | changed = true |
680 | 返回:changed |
名称 | 描述 |
---|---|
set_mtrr_state | set_mtrr_state - Set the MTRR state for this CPU.* NOTE: The CPU must already be in a safe state for MTRR changes.* RETURNS: 0 if no changes made, else a mask indicating what was changed. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |