函数逻辑报告 |
Source Code:kernel\debug\kdb\kdb_support.c |
Create Date:2022-07-27 12:47:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kdb_getphys - Read data from a physical address
函数原型:static int kdb_getphys(void *res, unsigned long addr, size_t size)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
void * | res | |
unsigned long | addr | |
size_t | size |
386 | page等于pfn_to_page(pfn) |
387 | vaddr等于kmap_atomic(page) |
389 | Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(vaddr) |
391 | 返回:0 |
名称 | 描述 |
---|---|
kdb_getphysword | kdb_getphysword* Inputs:* word Pointer to the word to receive the result.* addr Address of the area to copy.* size Size of the area.* Returns:* 0 for success, < 0 for error. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |