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:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__kgdb_notify

Proto:static int __kgdb_notify(struct die_args *args, unsigned long cmd)

Type:int

Parameter:

TypeParameterName
struct die_args *args
unsigned longcmd
529  regs = regs
532  Case cmd == DIE_DEBUG
533  If atomic_read( & kgdb_cpu_doing_single_step) != -1 Then
536  Break
537  Else if test_thread_flag(able singlestep on user return) Then Return Don't care
543  Default
544  If ser_mode(regs) determines whether a register set came from user* mode Then Return Don't care
548  If kgdb_handle_exception() - main entry point from a kernel exception* Locking hierarchy:* interface locks, if any (begin_session)* kgdb lock (kgdb_active) Then Return Don't care
552  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.
553  Return Clean way to return from the notifier and stop further calls.
Caller
NameDescribe
kgdb_ll_trap
kgdb_notify