Function report |
Source Code:kernel\debug\kdb\kdb_main.c |
Create Date:2022-07-28 11:41:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kdb_md - This function implements the 'md', 'md1', 'md2', 'md4',* 'md8' 'mdr' and 'mds' commands.* md|mds [<addr arg> [<line count> [<radix>]]]* mdWcN [<addr arg> [<line count> [<radix>]]]* where W = is the width (1, 2, 4 or 8) and N is the count.* for eg
Proto:static void kdb_md_line(const char *fmtstr, unsigned long addr, int symbolic, int nosect, int bytesperword, int num, int repeat, int phys)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | fmtstr | |
| unsigned long | addr | |
| int | symbolic | |
| int | nosect | |
| int | bytesperword | |
| int | num | |
| int | repeat | |
| int | phys |
| 1500 | If phys Then kdb_printf("phys "kdb_machreg_fmt0" ", addr) |
| 1502 | Else kdb_printf(kdb_machreg_fmt0" ", addr) |
| 1506 | If phys Then |
| 1511 | kdb_printf(fmtstr, word) |
| 1512 | If symbolic Then kdbnearsym - Return the name of the symbol with the nearest address* less than 'addr' |
| 1516 | If Full symbol name, including* any version Then |
| 1528 | Else |
| 1548 | kdb_printf("%*s %s\n", (int)((num - i) * (2 * bytesperword + 1) + 1), " ", cbuf) |
| Name | Describe |
|---|---|
| kdb_md | |
| kdb_per_cpu | kdb_per_cpu - This function implements the 'per_cpu' command. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |