函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mtrr\generic.c |
Create Date:2022-07-27 09:06:20 |
Last Modify:2022-05-18 17:45:43 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:print_mtrr_state
函数原型:static void __init print_mtrr_state(void)
返回类型:void
参数:无
408 | pr_debug("MTRR default type: %s\n", mtrr_attrib_to_str(def_type)) |
410 | 如果have_fixed则 |
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 | 以i小于2循环print_fixed(0x80000 + i * 0x20000, 0x04000, fixed_ranges + (i + 1) * 8) |
419 | 以i小于8循环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 | 以i小于num_var_ranges循环 |
431 | 如果mask_lo按位与1左移11位则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)) |
名称 | 描述 |
---|---|
get_mtrr_state | Grab all of the MTRR state for this CPU into *state |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |