Function report |
Source Code:arch\x86\kernel\apic\io_apic.c |
Create Date:2022-07-28 08:30:50 |
| Last Modify:2020-03-16 21:24:45 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mp_unregister_ioapic
Proto:int mp_unregister_ioapic(unsigned int gsi_base)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | gsi_base |
| 2890 | found = 0 |
| 2892 | for_each_ioapic(ioapic) |
| 2894 | found = 1 |
| 2895 | Break |
| 2897 | If Not found Then |
| 2899 | Return -ENODEV |
| 2903 | gsi = mp_pin_to_gsi(ioapic, pin) |
| 2904 | irq = mp_map_gsi_to_irq(gsi, 0, NULL) |
| 2907 | If irq >= 0 Then |
| 2918 | * # of IRQ routing registers = 0 |
| 2921 | If iomem_res Then release_resource(iomem_res) |
| 2923 | clear_fixmap(FIX_IO_APIC_BASE_0 + ioapic) |
| 2926 | Return 0 |
| 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 |