函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\fpu\core.c Create Date:2022-07-27 08:49:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Were we in user mode (or vm86 mode) when we were* interrupted?* Doing kernel_fpu_begin/end() is ok if we are running* in an interrupt context from user mode - we'll just* save the FPU state as required.

函数原型:static bool interrupted_user_mode(void)

返回类型:bool

参数:

66  regs等于get_irq_regs()
67  返回:regsser_mode(regs) determines whether a register set came from user* mode
调用者
名称描述
irq_fpu_usableCan we use the FPU in kernel mode with the* whole "kernel_fpu_begin/end()" sequence?* It's always ok in process context (ie "not interrupt")* but it is sometimes ok even from an irq.