Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\kdb\kdb_main.c Create Date:2022-07-28 11:41:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kdb_reboot - This function implements the 'reboot' command. Reboot* the system immediately, or loop for ever on failure.

Proto:static int kdb_reboot(int argc, const char **argv)

Type:int

Parameter:

TypeParameterName
intargc
const char **argv
1123  mergency_restart - reboot the system* Without shutting down any hardware or taking any locks* reboot the system. This is called when we know we are in* trouble so this is our best effort to reboot. This is* safe to call in interrupt context.
1124  kdb_printf("Hmm, kdb_reboot did not reboot, spinning here\n")
1125  When 1 cycle
1126  cpu_relax()
1128  Return 0
Caller
NameDescribe
kdb_gokdb_go - This function implements the 'go' command.* go [address-expression]