Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\debug_core.c Create Date:2022-07-28 11:38:02
Last Modify:2020-03-17 19:04:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dbg_notify_reboot

Proto:static int dbg_notify_reboot(struct notifier_block *this, unsigned long code, void *x)

Type:int

Parameter:

TypeParameterName
struct notifier_block *this
unsigned longcode
void *x
971  Case Action for the reboot notifiter, a global allow kdb to change it == 1
972  kgdb_breakpoint - generate breakpoint exception* This function will generate a breakpoint exception. It is used at the* beginning of a program to sync up with a debugger and can be used* otherwise as a quick means to stop program execution and "break" into
973  Case Action for the reboot notifiter, a global allow kdb to change it == -1
974  Go to done
976  If Not Use kdb or gdbserver mode Then gdbstub_exit - Send an exit message to GDB*@status: The exit code to report.
978  done :
979  Return Don't care