Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\vm86_32.c Create Date:2022-07-28 08:41:54
Last Modify:2022-05-22 10:11:03 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_and_reset_irq

Proto:static inline int get_and_reset_irq(int irqnumber)

Type:int

Parameter:

TypeParameterName
intirqnumber
823  ret = 0
825  If invalid_vm86_irq(irqnumber) Then Return 0
826  If tsk != current process Then Return 0
827  spin_lock_irqsave( & irqbits_lock, flags)
828  bit = irqbits & 1 << irqnumber
829  irqbits &= ~bit
830  If bit Then
831  enable_irq(irqnumber)
832  ret = 1
835  spin_unlock_irqrestore( & irqbits_lock, flags)
836  Return ret
Caller
NameDescribe
do_vm86_irq_handling