Function report |
Source Code:arch\x86\kernel\cpu\mtrr\generic.c |
Create Date:2022-07-28 08:06:17 |
| Last Modify:2022-05-18 17:45:43 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static unsigned long set_mtrr_state(void)
Type:unsigned long
Parameter:Nothing
| 693 | change_mask = 0 |
| 696 | When i < num_var_ranges cycle |
| 708 | If (deftype_lo & 0xff) != def_type || (deftype_lo & 0xc00) >> 10 != enabled Then |
| 711 | deftype_lo = deftype_lo & ~0xcff | def_type | enabled << 10 |
| 716 | Return change_mask |
| Name | Describe |
|---|---|
| generic_set_all |
| 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 |