函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\kdb\kdb_main.c Create Date:2022-07-27 12:45:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:static int kdb_reboot(int argc, const char **argv)

返回类型:int

参数:

类型参数名称
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  当1循环
1126  cpu_relax()
1128  返回:0
调用者
名称描述
kdb_gokdb_go - This function implements the 'go' command.* go [address-expression]