函数逻辑报告 |
Source Code:arch\x86\kernel\apic\apic.c |
Create Date:2022-07-27 09:26:54 |
Last Modify:2020-03-16 21:21:31 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:setup_local_APIC - setup the local APIC* Used to setup local APIC while initializing BSP or bringing up APs.* Always called with preemption disabled.
函数原型:static void setup_local_APIC(void)
返回类型:void
参数:无
1603 | 如果disable_apic则 |
1604 | disable_ioapic_support() |
1605 | 返回 |
1613 | value与等于APIC_SPIV_APIC_ENABLED的反 |
1614 | apic_write(APIC_SPIV, value) |
1619 | apic_write(APIC_ESR, 0) |
1620 | apic_write(APIC_ESR, 0) |
1621 | apic_write(APIC_ESR, 0) |
1622 | apic_write(APIC_ESR, 0) |
1629 | BUG_ON(!apic_id_registered()) |
1636 | init_apic_ldr() |
1649 | 如果logical_apicid不等于BAD_APICID则WARN_ON(logical_apicid != ldr_apicid) |
1662 | value等于apic_read(APIC_TASKPRI) |
1663 | value与等于APIC_TPRI_MASK的反 |
1664 | value或等于0x10 |
1665 | apic_write(APIC_TASKPRI, value) |
1674 | value与等于APIC_VECTOR_MASK的反 |
1678 | value或等于APIC_SPIV_APIC_ENABLED |
1705 | value与等于APIC_SPIV_FOCUS_DISABLED的反 |
1712 | apic_write(APIC_SPIV, value) |
1714 | perf_events_lapic_init() |
1726 | value等于apic_read(APIC_LVT0)按位与APIC_LVT_MASKED |
1727 | 如果非cpu且pic_mode或非value或skip_ioapic_setup的值则 |
1728 | value等于APIC_DM_EXTINT |
1730 | 否则 |
1731 | value等于APIC_DM_EXTINT按位或APIC_LVT_MASKED |
1734 | apic_write(APIC_LVT0, value) |
1743 | 否则value等于APIC_DM_NMI按位或APIC_LVT_MASKED |
1749 | apic_write(APIC_LVT1, value) |
名称 | 描述 |
---|---|
apic_ap_setup | APIC setup function for application processors. Called from smpboot.c |
apic_bsp_setup |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |