函数逻辑报告 |
Source Code:arch\x86\kernel\apic\apic.c |
Create Date:2022-07-27 09:26:44 |
Last Modify:2020-03-16 21:21:31 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lear_local_APIC - shutdown the local APIC* This is called, when a CPU is disabled and before rebooting, so the state of* the local APIC has no dangling leftovers. Also used to cleanout any BIOS* leftovers during boot.
函数原型:void clear_local_APIC(void)
返回类型:void
参数:无
1173 | 如果非x2apic_mode且非apic_phys则返回 |
1181 | 如果maxlvt大于等于3则 |
1182 | v等于ERROR_APIC_VECTOR |
1183 | apic_write(APIC_LVTERR, v | APIC_LVT_MASKED) |
1190 | apic_write(APIC_LVTT, v | APIC_LVT_MASKED) |
1192 | apic_write(APIC_LVT0, v | APIC_LVT_MASKED) |
1194 | apic_write(APIC_LVT1, v | APIC_LVT_MASKED) |
1195 | 如果maxlvt大于等于4则 |
1196 | v等于apic_read(APIC_LVTPC) |
1197 | apic_write(APIC_LVTPC, v | APIC_LVT_MASKED) |
1218 | apic_write(APIC_LVTT, APIC_LVT_MASKED) |
1219 | apic_write(APIC_LVT0, APIC_LVT_MASKED) |
1220 | apic_write(APIC_LVT1, APIC_LVT_MASKED) |
1221 | 如果maxlvt大于等于3则apic_write(APIC_LVTERR, APIC_LVT_MASKED) |
1223 | 如果maxlvt大于等于4则apic_write(APIC_LVTPC, APIC_LVT_MASKED) |
1228 | 如果maxlvt大于3则apic_write(APIC_ESR, 0) |
名称 | 描述 |
---|---|
apic_soft_disable | apic_soft_disable - Clears and software disables the local APIC on hotplug* Contrary to disable_local_APIC() this does not touch the enable bit in* MSR_IA32_APICBASE |
lapic_shutdown | If Linux enabled the LAPIC against the BIOS default disable it down before* re-entering the BIOS on shutdown. Otherwise the BIOS may get confused and* not power-off. Additionally clear all LVT entries before disable_local_APIC |
init_bsp_APIC | An initial setup of the virtual wire mode. |
connect_bsp_APIC | ect_bsp_APIC - attach the APIC to the interrupt system |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |