函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Machine check handler for Pentium class Intel CPUs:

函数原型:static void pentium_machine_check(struct pt_regs *regs, long error_code)

返回类型:void

参数:

类型参数名称
struct pt_regs *regs
longerror_code
27  In IST context, we explicitly disable preemption. This serves two* purposes: it makes it much less likely that we would accidentally* schedule in IST context and it will force a warning if we somehow* manage to schedule by accident.
29  Access to machine-specific registers (available on 586 and better only)* Note: the rd* operations modify the parameters directly (without using* pointer indirection), this allows gcc to optimize better(Intel defined MSRs. , loaddr, hi)
30  Access to machine-specific registers (available on 586 and better only)* Note: the rd* operations modify the parameters directly (without using* pointer indirection), this allows gcc to optimize better(MSR_IA32_P5_MC_TYPE, lotype, hi)
32  These can be used to print at the various log levels.* All of these will print unconditionally, although note that pr_debug()* and other debug macros are compiled out unless either DEBUG is defined* or CONFIG_DYNAMIC_DEBUG is set.("CPU#%d: Machine Check Exception: 0x%8X (type 0x%8X).\n", 当前cpu ID(), loaddr, lotype)
35  如果lotype按位与1左移5位则
36  These can be used to print at the various log levels.* All of these will print unconditionally, although note that pr_debug()* and other debug macros are compiled out unless either DEBUG is defined* or CONFIG_DYNAMIC_DEBUG is set.("CPU#%d: Possible thermal failure (CPU on fire ?).\n", 当前cpu ID())
40  add_taint(TAINT_MACHINE_CHECK, LOCKDEP_NOW_UNRELIABLE)
42  ist_exit(regs)