Function report |
Source Code:arch\x86\kernel\apic\apic.c |
Create Date:2022-07-28 08:27:20 |
Last Modify:2020-03-16 21:21:31 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:disconnect_bsp_APIC - detach the APIC from the interrupt system*@virt_wire_setup: indicates, whether virtual wire mode is selected* Virtual wire mode is necessary to deliver legacy interrupts even when the* APIC is disabled.
Proto:void disconnect_bsp_APIC(int virt_wire_setup)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
int | virt_wire_setup |
2280 | If pic_mode Then |
2289 | imcr_apic_to_pic() |
2290 | Return |
2298 | value &= ~APIC_VECTOR_MASK |
2299 | value |= APIC_SPIV_APIC_ENABLED |
2300 | value |= 0xf |
2301 | apic_write(APIC_SPIV, value) |
2303 | If Not virt_wire_setup Then |
2309 | value &= ~( APIC_MODE_MASK | APIC_SEND_PENDING | APIC_INPUT_POLARITY | APIC_LVT_REMOTE_IRR | APIC_LVT_LEVEL_TRIGGER | APIC_LVT_MASKED) |
2312 | value |= APIC_LVT_REMOTE_IRR | APIC_SEND_PENDING |
2313 | value = SET_APIC_DELIVERY_MODE(value, APIC_MODE_EXTINT) |
2314 | apic_write(APIC_LVT0, value) |
2315 | Else |
2317 | apic_write(APIC_LVT0, APIC_LVT_MASKED) |
2325 | value &= ~( APIC_MODE_MASK | APIC_SEND_PENDING | APIC_INPUT_POLARITY | APIC_LVT_REMOTE_IRR | APIC_LVT_LEVEL_TRIGGER | APIC_LVT_MASKED) |
2328 | value |= APIC_LVT_REMOTE_IRR | APIC_SEND_PENDING |
2329 | value = SET_APIC_DELIVERY_MODE(value, APIC_MODE_NMI) |
2330 | apic_write(APIC_LVT1, value) |
Name | Describe |
---|---|
native_restore_boot_irq_mode |
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 |