Function report |
Source Code:arch\x86\kernel\apic\vector.c |
Create Date:2022-07-28 08:28:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:print_local_APIC
Proto:static void __init print_local_APIC(void *dummy)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | dummy |
| 1071 | pr_debug("printing local APIC contents on CPU#%d/%d:\n", smp_processor_id(), hard_smp_processor_id()) |
| 1074 | pr_info("... 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 | If APIC_INTEGRATED(ver) Then |
| 1085 | If Not APIC_XAPIC(ver) Then |
| 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 | If Not APIC_INTEGRATED(ver) || maxlvt == 3 Then |
| 1105 | If Not x2apic_enabled() Then |
| 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 | If APIC_INTEGRATED(ver) Then |
| 1122 | If maxlvt > 3 Then apic_write(APIC_ESR, 0) |
| 1129 | icr = apic_icr_read() |
| 1136 | If maxlvt > 3 Then |
| 1138 | v = apic_read(APIC_LVTPC) |
| 1146 | If maxlvt > 2 Then |
| 1148 | v = apic_read(APIC_LVTERR) |
| 1152 | v = apic_read(APIC_TMICT) |
| 1154 | v = apic_read(APIC_TMCCT) |
| 1159 | If boot_cpu_has(Extended APIC space ) Then |
| 1160 | v = apic_read(APIC_EFEAT) |
| 1163 | v = apic_read(APIC_ECTRL) |
| 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 |