Function report | 
Source Code:kernel\debug\gdbstub.c | 
Create Date:2022-07-28 11:38:35 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Write memory due to an 'M' or 'X' packet.
Proto:static int write_mem_msg(int binary)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | binary | 
| 370 | ptr = Our I/O buffers. [1] | 
| 375 | If While we find nice hex chars, build a long_val.* Return number of chars processed. > 0 && * ptr++ == ',' && While we find nice hex chars, build a long_val.* Return number of chars processed. > 0 && * ptr++ == ':' Then | 
| 379 | Else err = Convert the hex array pointed to by buf into binary to be placed in* mem. Return a pointer to the character AFTER the last byte* written. May return an error. | 
| 383 | If CACHE_FLUSH_IS_SAFE Then flush_icache_range(addr, addr + length) | 
| 385 | Return 0 | 
| 388 | Return -EINVAL | 
| Name | Describe | 
|---|---|
| gdb_cmd_memwrite | Handle the 'M' memory write bytes | 
| gdb_cmd_binwrite | Handle the 'X' memory binary write bytes | 
| 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  |