Function report |
Source Code:arch\x86\kernel\cpu\mtrr\generic.c |
Create Date:2022-07-28 08:06:08 |
| Last Modify:2022-05-18 17:45:43 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:print_mtrr_state
Proto:static void __init print_mtrr_state(void)
Type:void
Parameter:Nothing
| 408 | pr_debug("MTRR default type: %s\n", mtrr_attrib_to_str(def_type)) |
| 410 | If have_fixed Then |
| 411 | pr_debug("MTRR fixed ranges %sabled:\n", ((enabled & MTRR_STATE_MTRR_ENABLED) && (enabled & Bit fields for enabled in struct mtrr_state_type )) ? "en" : "dis") |
| 415 | print_fixed(0x00000, 0x10000, fixed_ranges + 0) |
| 416 | When i < 2 cycle print_fixed(0x80000 + i * 0x20000, 0x04000, fixed_ranges + (i + 1) * 8) |
| 419 | When i < 8 cycle print_fixed(0xC0000 + i * 0x08000, 0x01000, fixed_ranges + (i + 3) * 8) |
| 424 | print_fixed_last() |
| 426 | pr_debug("MTRR variable ranges %sabled:\n", enabled & MTRR_STATE_MTRR_ENABLED ? "en" : "dis") |
| 430 | When i < num_var_ranges cycle |
| 431 | If mask_lo & 1 << 11 Then pr_debug(" %u base %0*X%05X000 mask %0*X%05X000 %s\n", i, high_width, base_hi, base_lo >> 12, high_width, mask_hi, mask_lo >> 12, mtrr_attrib_to_str(base_lo & 0xff)) |
| Name | Describe |
|---|---|
| get_mtrr_state | Grab all of the MTRR state for this CPU into *state |
| 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 |