函数逻辑报告 |
Source Code:arch\x86\kernel\apic\io_apic.c |
Create Date:2022-07-27 09:30:00 |
| Last Modify:2020-03-16 21:24:45 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:mp_irqdomain_create
函数原型:static int mp_irqdomain_create(int ioapic)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| 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 | 如果type恒等于IOAPIC_DOMAIN_INVALID则返回:0 |
| 2311 | init_irq_alloc_info( & info, NULL) |
| 2313 | ioapic_id等于mpc_ioapic_id(ioapic) |
| 2314 | parent等于irq_remapping_get_ir_irq_domain( & info) |
| 2315 | 如果非parent则parent等于x86_vector_domain |
| 2317 | 否则name等于"IO-APIC-IR" |
| 2321 | 如果dev则 |
| 2322 | fn等于of_node_to_fwnode(dev) |
| 2323 | 否则 |
| 2333 | 如果非dev则q_domain_free_fwnode - Free a non-OF-backed fwnode_handle* Free a fwnode_handle allocated with irq_domain_alloc_fwnode. |
| 2341 | 如果type恒等于IOAPIC_DOMAIN_LEGACY或type恒等于IOAPIC_DOMAIN_STRICT则ioapic_dynirq_base等于两数取大(ioapic_dynirq_base, gsi_end + 1) |
| 2346 | 返回:0 |
| 名称 | 描述 |
|---|---|
| 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |