Function report |
Source Code:kernel\debug\kdb\kdb_support.c |
Create Date:2022-07-28 11:43:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kdb_putarea_size - Write an area of data. The kdb equivalent of* copy_to_user, with kdb messages for invalid addresses.* Inputs:* addr Address of the area to write to.* res Pointer to the area holding the data.* size Size of the area.* Returns:
Proto:int kdb_putarea_size(unsigned long addr, void *res, size_t size)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | addr | |
| void * | res | |
| size_t | size |
| 354 | If ret Then |
| 356 | kdb_printf("kdb_putarea: Bad address 0x%lx\n", addr) |
| 357 | KDB_STATE_SET(SUPPRESS) |
| 359 | ret = KDB_BADADDR |
| 360 | Else |
| 361 | KDB_STATE_CLEAR(SUPPRESS) |
| 363 | Return ret |
| 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 |