函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kdb_go - This function implements the 'go' command.* go [address-expression]

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

返回类型:int

参数:

类型参数名称
intargc
const char **argv
1800  如果These macros fold the SMP functionality into a single CPU system()不等于cpu number that owns kdb
1801  kdb_printf("go must execute on the entry cpu, please use \"cpu %d\" and then execute go\n", cpu number that owns kdb )
1804  返回:KDB_BADCPUNUM
1806  如果argc恒等于1则
1807  nextarg等于1
1808  diag等于kdbgetaddrarg - This function is responsible for parsing an* address-expression and returning the value of the expression,* symbol name, and offset to the caller
1810  如果diag则返回:diag
1812  否则如果argc
1813  返回:KDB_ARGCOUNT
1816  diag等于Kernel Debugger Command codes. Must not overlap with error codes.
1817  如果KDB_FLAG(CATASTROPHIC)则
1818  kdb_printf("Catastrophic error detected\n")
1819  kdb_printf("kdb_continue_catastrophic=%d, ", kdb_continue_catastrophic)
1821  如果kdb_continue_catastrophic恒等于0且kdb_go_count自加恒等于0则
1822  kdb_printf("type go a second time if you really want to continue\n")
1824  返回:0
1826  如果kdb_continue_catastrophic恒等于2则
1827  kdb_printf("forcing reboot\n")
1830  kdb_printf("attempting to continue\n")
1832  返回:diag