函数逻辑报告 |
Source Code:arch\x86\kernel\apic\vector.c |
Create Date:2022-07-27 09:28:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:print_local_APIC
函数原型:static void __init print_local_APIC(void *dummy)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
void * | dummy |
1071 | pr_debug("printing local APIC contents on CPU#%d/%d:\n", 当前cpu ID(), hard_smp_processor_id()) |
1074 | 打印信息("... APIC ID: %08x (%01x)\n", v, read_apic_id()) |
1077 | ver等于GET_APIC_VERSION(v) |
1080 | v等于apic_read(APIC_TASKPRI) |
1081 | pr_debug("... APIC TASKPRI: %08x (%02x)\n", v, v & APIC_TPRI_MASK) |
1084 | 如果APIC_INTEGRATED(ver)则 |
1085 | 如果非APIC_XAPIC(ver)则 |
1086 | v等于apic_read(APIC_ARBPRI) |
1087 | pr_debug("... APIC ARBPRI: %08x (%02x)\n", v, v & APIC_ARBPRI_MASK) |
1090 | v等于apic_read(APIC_PROCPRI) |
1098 | 如果非APIC_INTEGRATED(ver)或maxlvt恒等于3则 |
1105 | 如果非x2apic_enabled()则 |
1112 | pr_debug("... APIC ISR field:\n") |
1113 | print_APIC_field(APIC_ISR) |
1114 | pr_debug("... APIC TMR field:\n") |
1115 | print_APIC_field(APIC_TMR) |
1116 | pr_debug("... APIC IRR field:\n") |
1117 | print_APIC_field(APIC_IRR) |
1120 | 如果APIC_INTEGRATED(ver)则 |
1122 | 如果maxlvt大于3则apic_write(APIC_ESR, 0) |
1129 | icr等于apic_icr_read() |
1136 | 如果maxlvt大于3则 |
1138 | v等于apic_read(APIC_LVTPC) |
1146 | 如果maxlvt大于2则 |
1148 | v等于apic_read(APIC_LVTERR) |
1152 | v等于apic_read(APIC_TMICT) |
1154 | v等于apic_read(APIC_TMCCT) |
1159 | 如果boot_cpu_has(Extended APIC space )则 |
1160 | v等于apic_read(APIC_EFEAT) |
1163 | v等于apic_read(APIC_ECTRL) |
1170 | 打印标准信息("\n") |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |