| 函数逻辑报告 | 
| Source Code: kernel\debug\kdb\kdb_main.c | Create Date:2022-07-27 12:46:04 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:kdb_mm - This function implements the 'mm' command.* mm address-expression new-value* Remarks:* mm works on machine words, mmW works on bytes.
函数原型:static int kdb_mm(int argc, const char **argv)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| int | argc | |
| const char ** | argv | 
| 1754 | offset等于0 | 
| 1759 | 如果argv[0][2]且非是数字则返回:KDB return codes from a command or internal kdb function | 
| 1762 | 如果argc小于2则返回:KDB_ARGCOUNT | 
| 1765 | nextarg等于1 | 
| 1766 | 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 | 
| 1770 | 如果nextarg大于argc则返回:KDB_ARGCOUNT | 
| 1772 | 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 | 
| 1776 | 如果nextarg不等于argc加1则返回:KDB_ARGCOUNT | 
| 1779 | width等于如果argv[0][2]则argv[0][2]减'0'否则KDB_WORD_SIZE | 
| 1784 | kdb_printf(kdb_machreg_fmt" = "kdb_machreg_fmt"\n", addr, contents) | 
| 1786 | 返回:0 | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |