Function report |
Source Code:arch\x86\kernel\apic\apic.c |
Create Date:2022-07-28 08:27:04 |
Last Modify:2020-03-16 21:21:31 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:An initial setup of the virtual wire mode.
Proto:void __init init_bsp_APIC(void)
Type:void
Parameter:Nothing
1413 | If Have we found an MP table || Not boot_cpu_has(Onboard APIC ) Then Return |
1425 | value &= ~APIC_VECTOR_MASK |
1426 | value |= APIC_SPIV_APIC_ENABLED |
1430 | If x86_vendor == X86_VENDOR_INTEL && x86 == 15 Then value &= ~APIC_SPIV_FOCUS_DISABLED |
1433 | Else value |= APIC_SPIV_FOCUS_DISABLED |
1437 | apic_write(APIC_SPIV, value) |
1442 | apic_write(APIC_LVT0, APIC_DM_EXTINT) |
1443 | value = APIC_DM_NMI |
1444 | If Not Check, if the APIC is integrated or a separate chip Then value |= APIC_LVT_LEVEL_TRIGGER |
1446 | If This variable controls which CPUs receive external NMIs. By default,* external NMIs are delivered only to the BSP. == APIC_EXTNMI_NONE Then value |= APIC_LVT_MASKED |
1448 | apic_write(APIC_LVT1, value) |
Name | Describe |
---|---|
init_ISA_irqs |
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 |