Function report |
Source Code:arch\x86\kernel\apic\apic.c |
Create Date:2022-07-28 08:27:06 |
| Last Modify:2020-03-16 21:21:31 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Init the interrupt delivery mode for the BSP
Proto:void __init apic_intr_mode_init(void)
Type:void
Parameter:Nothing
| 1456 | upmode = IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_UP_LATE_INIT) |
| 1459 | Case apic_intr_mode == APIC_PIC |
| 1460 | pr_info("APIC: Keep in PIC mode(8259)\n") |
| 1461 | Return |
| 1462 | Case apic_intr_mode == APIC_VIRTUAL_WIRE |
| 1463 | pr_info("APIC: Switch to virtual wire mode setup\n") |
| 1464 | default_setup_apic_routing() |
| 1465 | Break |
| 1466 | Case apic_intr_mode == APIC_VIRTUAL_WIRE_NO_CONFIG |
| 1467 | pr_info("APIC: Switch to virtual wire mode setup with no configuration\n") |
| 1468 | upmode = true |
| 1469 | default_setup_apic_routing() |
| 1470 | Break |
| 1471 | Case apic_intr_mode == APIC_SYMMETRIC_IO |
| 1472 | pr_info("APIC: Switch to symmetric I/O mode setup\n") |
| 1473 | default_setup_apic_routing() |
| 1474 | Break |
| 1475 | Case apic_intr_mode == APIC_SYMMETRIC_IO_NO_ROUTING |
| 1476 | pr_info("APIC: Switch to symmetric I/O mode setup in no SMP routine\n") |
| 1477 | Break |
| 1480 | apic_bsp_setup(upmode) |
| 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 |