Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\apic.c Create Date:2022-07-28 08:27:08
Last Modify:2020-03-16 21:21:31 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:apic_check_and_ack

Proto:static bool apic_check_and_ack(union apic_ir *irr, union apic_ir *isr)

Type:bool

Parameter:

TypeParameterName
union apic_ir *irr
union apic_ir *isr
1538  When i < APIC_IR_REGS cycle regs[i] = apic_read(APIC_IRR + i * 0x10)
1542  When i < APIC_IR_REGS cycle regs[i] = apic_read(APIC_ISR + i * 0x10)
1550  If Not bitmap_empty(map, APIC_IR_BITS) Then
1556  for_each_set_bit(bit, map, APIC_IR_BITS)
1557  ack_APIC_irq()
1558  Return true
1561  Return Not bitmap_empty(map, APIC_IR_BITS)
Caller
NameDescribe
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