Function report |
Source Code:arch\x86\kernel\i8259.c |
Create Date:2022-07-28 07:40:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:i8259A_irq_pending
Proto:static int i8259A_irq_pending(unsigned int irq)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | irq |
| 102 | raw_spin_lock_irqsave( & i8259A_lock, flags) |
| 103 | If irq < 8 Then ret = inb(8259A PIC registers ) & mask |
| 105 | Else ret = inb(PIC_SLAVE_CMD) & mask >> 8 |
| 107 | raw_spin_unlock_irqrestore( & i8259A_lock, flags) |
| 109 | Return ret |
| 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 |