函数逻辑报告 |
Source Code:kernel\debug\kdb\kdb_main.c |
Create Date:2022-07-27 12:45:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kdb_main_loop - After initial setup and assignment of the* controlling cpu, all cpus are in this loop
函数原型:int kdb_main_loop(kdb_reason_t reason, kdb_reason_t reason2, int error, kdb_dbtrap_t db_result, struct pt_regs *regs)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
kdb_reason_t | reason | |
kdb_reason_t | reason2 | |
int | error | |
kdb_dbtrap_t | db_result | |
struct pt_regs * | regs |
1400 | result等于1 |
1402 | 当1循环 |
1413 | 如果非KDB_STATE(KDB)则KDB_STATE_SET(KDB) |
1417 | KDB_STATE_CLEAR(SUPPRESS) |
1425 | 如果result恒等于KDB_CMD_CPU则退出 |
1428 | 如果result恒等于KDB_CMD_SS则 |
1429 | KDB_STATE_SET(DOING_SS) |
1430 | 退出 |
1433 | 如果result恒等于KDB_CMD_KGDB则 |
1434 | 如果非KDB_STATE(DOING_KGDB)则kdb_printf("Entering please attach debugger or use $D#44+ or $3#33\n") |
1437 | 退出 |
1439 | 如果result且result不等于1且result不等于Kernel Debugger Command codes. Must not overlap with error codes. 则kdb_printf("\nUnexpected kdb_local return code %d\n", result) |
1443 | 退出 |
1445 | 如果KDB_STATE(DOING_SS)则KDB_STATE_CLEAR(SSBPT) |
1451 | 返回:result |
名称 | 描述 |
---|---|
kdb_stub |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |