Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\kgdb.c Create Date:2022-07-28 08:40:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kgdb_nmi_handler

Proto:static int kgdb_nmi_handler(unsigned int cmd, struct pt_regs *regs)

Type:int

Parameter:

TypeParameterName
unsigned intcmd
struct pt_regs *regs
501  Case cmd == NMI_LOCAL
502  If atomic_read( & kgdb_active) != -1 Then
509  Return NMI_HANDLED
511  Break
513  Case cmd == NMI_UNKNOWN
514  cpu = These macros fold the SMP functionality into a single CPU system()
516  If __test_and_clear_bit - Clear a bit and return its old value*@nr: Bit to clear*@addr: Address to count from* This operation is non-atomic. If two instances of this operation race, one* can appear to succeed but actually fail. Then Return NMI_HANDLED
519  Break
520  Default
522  Break
524  Return NMI_DONE