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:40
Last Modify:2022-05-22 10:11:03 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:It is correct to call set_IF(regs) from the set_vflags_** functions. However someone forgot to call clear_IF(regs)* in the opposite case.* After the command sequence CLI PUSHF STI POPF you should* end up with interrupts disabled, but you ended up with

Proto:static inline void set_vflags_long(unsigned long flags, struct kernel_vm86_regs *regs)

Type:void

Parameter:

TypeParameterName
unsigned longflags
struct kernel_vm86_regs *regs
421  set_flags(VEFLAGS, flags, veflags_mask)
422  set_flags(flags, flags, SAFE_MASK)
423  If flags & X86_EFLAGS_IF Then set_IF(regs)
425  Else clear_IF(regs)
Caller
NameDescribe
handle_vm86_fault