Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\kdb\kdb_main.c Create Date:2022-07-28 11:41:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static int kdb_mdr(unsigned long addr, unsigned int count)

Type:int

Parameter:

TypeParameterName
unsigned longaddr
unsigned intcount
1467  When count-- cycle
1468  If Like get_user and put_user, kdb_getarea and kdb_putarea take variable* names, not pointers. The underlying *_size functions take pointers.(c, addr) Then Return 0
1470  kdb_printf("%02x", c)
1471  addr++
1473  kdb_printf("\n")
1474  Return 0
Caller
NameDescribe
kdb_md