函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\nmi.c Create Date:2022-07-27 08:34:38
Last Modify:2022-05-22 06:29:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:io_check_error

函数原型:static void io_check_error(unsigned char reason, struct pt_regs *regs)

返回类型:void

参数:

类型参数名称
unsigned charreason
struct pt_regs *regs
243  如果nmi_handle(NMI_IO_CHECK, regs)则返回
246  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.("NMI: IOCK error (debug interrupt?) for reason %02x on CPU %d.\n", reason, 当前cpu ID())
249  show_regs(regs)
251  如果panic_on_io_nmi
252  nmi_panic(regs, "NMI IOCK error: Not continuing")
259  返回
263  reason等于reason按位与NMI_REASON_CLEAR_MASK按位或NMI_REASON_CLEAR_IOCHK
264  Basic port I/O
266  i等于20000
267 i先自减循环
268  h_nmi_watchdog - restart NMI watchdog timeout.* If the architecture supports the NMI watchdog, touch_nmi_watchdog()* may be used to reset the timeout - for code which intentionally* disables interrupts for a long time. This call is stateless.
269  0x10c7 is 2**32 / 1000000 (rounded up) (100)
272  reason与等于NMI_REASON_CLEAR_IOCHK的反
273  Basic port I/O
调用者
名称描述
default_do_nmi