函数逻辑报告 |
Source Code:arch\x86\kernel\apic\io_apic.c |
Create Date:2022-07-27 09:29:43 |
| Last Modify:2020-03-16 21:24:45 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Starting up a edge-triggered IO-APIC interrupt is* nasty - we need to make sure that we get the edge.* If it is already asserted for some reason, we need* return 1 to indicate that is was pending.* This is not complete - we should be able to fake
函数原型:static unsigned int startup_ioapic_irq(struct irq_data *data)
返回类型:unsigned int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct irq_data * | data |
| 1687 | was_pending等于0, irq等于中断号 |
| 1690 | raw_spin_lock_irqsave( & ioapic_lock, flags) |
| 1691 | 如果irq小于nr_legacy_irqs()则 |
| 1693 | 如果irq_pending(irq)则was_pending等于1 |
| 1696 | __unmask_ioapic(和中断控制器相关的私有数据) |
| 1697 | raw_spin_unlock_irqrestore( & ioapic_lock, flags) |
| 1699 | 返回:was_pending |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |