Function report |
Source Code:arch\x86\kernel\apic\io_apic.c |
Create Date:2022-07-28 08:30:41 |
| Last Modify:2020-03-16 21:24:45 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:io_apic_init_mappings
Proto:void __init io_apic_init_mappings(void)
Type:void
Parameter:Nothing
| 2664 | idx = FIX_IO_APIC_BASE_0 |
| 2668 | ioapic_res = ioapic_setup_resources() |
| 2670 | If Have we found an MP table Then |
| 2671 | ioapic_phys = mpc_ioapic_addr(i) |
| 2673 | If Not ioapic_phys Then |
| 2674 | printk(r conditions "WARNING: bogus zero IO-APIC address found in MPTABLE, disabling IO/APIC support!\n") |
| 2678 | Have we found an MP table = 0 |
| 2679 | skip_ioapic_setup = 1 |
| 2680 | Go to fake_ioapic_page |
| 2683 | Else |
| 2685 | fake_ioapic_page : |
| 2687 | ioapic_phys = memblock_alloc(PAGE_SIZE, PAGE_SIZE) |
| 2689 | If Not ioapic_phys Then panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
| 2692 | ioapic_phys = __pa(ioapic_phys) |
| 2698 | idx++ |
| 2700 | start = ioapic_phys |
| 2702 | ioapic_res++ |
| 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 |