函数逻辑报告 |
Source Code:arch\x86\kernel\apic\io_apic.c |
Create Date:2022-07-27 09:29:47 |
Last Modify:2020-03-16 21:24:45 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Interrupt shutdown masks the ioapic pin, but the interrupt might already* be in flight, but not yet serviced by the target CPU. That means* __synchronize_hardirq() would return and claim that everything is calmed* down
函数原型:static int ioapic_irq_get_chip_state(struct irq_data *irqd, enum irqchip_irq_state which, bool *state)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct irq_data * | irqd | |
enum irqchip_irq_state | which | |
bool * | state |
1918 | mcd等于和中断控制器相关的私有数据 |
1922 | 如果which不等于IRQCHIP_STATE_ACTIVE则返回:负EINVAL |
1925 | * state = false |
1926 | raw_spin_lock( & ioapic_lock) |
1927 | for_each_irq_pin(p, irq_2_pin) |
1928 | rentry等于__ioapic_read_entry(apic, pin) |
1935 | 如果irr且 0: edge, 1: level 则 |
1940 | raw_spin_unlock( & ioapic_lock) |
1941 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |