Function report |
Source Code:arch\x86\kernel\apic\io_apic.c |
Create Date:2022-07-28 08:30:17 |
Last Modify:2020-03-16 21:24:45 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static int ioapic_irq_get_chip_state(struct irq_data *irqd, enum irqchip_irq_state which, bool *state)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct irq_data * | irqd | |
enum irqchip_irq_state | which | |
bool * | state |
1922 | If which != IRQCHIP_STATE_ACTIVE Then Return -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 | If irr && 0: edge, 1: level Then |
1936 | * state = true |
1937 | Break |
1940 | raw_spin_unlock( & ioapic_lock) |
1941 | 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 |