Function report |
Source Code:arch\x86\kernel\apic\io_apic.c |
Create Date:2022-07-28 08:30:31 |
| Last Modify:2020-03-16 21:24:45 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mp_irqdomain_create
Proto:static int mp_irqdomain_create(int ioapic)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | ioapic |
| 2301 | hwirqs = mp_ioapic_pin_count(ioapic) |
| 2303 | cfg = irqdomain_cfg |
| 2304 | gsi_cfg = mp_ioapic_gsi_routing(ioapic) |
| 2306 | name = "IO-APIC" |
| 2308 | If type == IOAPIC_DOMAIN_INVALID Then Return 0 |
| 2311 | init_irq_alloc_info( & info, NULL) |
| 2312 | type = X86_IRQ_ALLOC_TYPE_IOAPIC |
| 2313 | ioapic_id = mpc_ioapic_id(ioapic) |
| 2314 | parent = irq_remapping_get_ir_irq_domain( & info) |
| 2315 | If Not parent Then parent = x86_vector_domain |
| 2317 | Else name = "IO-APIC-IR" |
| 2321 | If dev Then |
| 2322 | fn = of_node_to_fwnode(dev) |
| 2323 | Else |
| 2333 | If Not dev Then q_domain_free_fwnode - Free a non-OF-backed fwnode_handle* Free a fwnode_handle allocated with irq_domain_alloc_fwnode. |
| 2346 | Return 0 |
| Name | Describe |
|---|---|
| setup_IO_APIC | |
| mp_register_ioapic | mp_register_ioapic - Register an IOAPIC device*@id: hardware IOAPIC ID*@address: physical address of IOAPIC register area*@gsi_base: base of GSI associated with the IOAPIC*@cfg: configuration information for the IOAPIC |
| 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 |