函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kdb_mdr - This function implements the guts of the 'mdr', memory* read command.* mdr <addr arg>,<byte count>* Inputs:* addr Start address* count Number of bytes* Returns:* Always 0. Any errors are detected and printed by kdb_getarea.

函数原型:static int kdb_mdr(unsigned long addr, unsigned int count)

返回类型:int

参数:

类型参数名称
unsigned longaddr
unsigned intcount
1467 count自减循环
1468  如果Like get_user and put_user, kdb_getarea and kdb_putarea take variable* names, not pointers. The underlying *_size functions take pointers.(c, addr)则返回:0
1470  kdb_printf("%02x", c)
1471  addr自加
1473  kdb_printf("\n")
1474  返回:0
调用者
名称描述
kdb_md