Function report |
Source Code:arch\x86\kernel\cpu\mtrr\generic.c |
Create Date:2022-07-28 08:06:16 |
Last Modify:2022-05-18 17:45:43 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Set the MSR pair relating to a var range.* Returns true if changes are made.
Proto:static bool set_mtrr_var_ranges(unsigned int index, struct mtrr_var_range *vr)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | index | |
struct mtrr_var_range * | vr |
661 | bool changed = false |
664 | If (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 ) Then |
669 | changed = true |
674 | If (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 ) Then |
678 | changed = true |
680 | Return changed |
Name | Describe |
---|---|
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. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |