函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\apic.c Create Date:2022-07-27 09:26:51
Last Modify:2020-03-16 21:21:31 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:apic_check_and_ack

函数原型:static bool apic_check_and_ack(union apic_ir *irr, union apic_ir *isr)

返回类型:bool

参数:

类型参数名称
union apic_ir *irr
union apic_ir *isr
1538 i小于APIC_IR_REGS循环regs[i]等于apic_read(APIC_IRR + i * 0x10)
1542 i小于APIC_IR_REGS循环regs[i]等于apic_read(APIC_ISR + i * 0x10)
1550  如果非bitmap_empty(map, APIC_IR_BITS)则
1556  for_each_set_bit(bit, map, APIC_IR_BITS)
1557  ack_APIC_irq()
1558  返回:true
1561  返回:非bitmap_empty(map, APIC_IR_BITS)
调用者
名称描述
apic_pending_intr_clearAfter a crash, we no longer service the interrupts and a pending* interrupt from previous kernel might still have ISR bit set