函数逻辑报告 |
Source Code:kernel\kexec_elf.c |
Create Date:2022-07-27 12:06:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kexec_elf_load - load ELF executable image*@lowest_load_addr: On return, will be the address where the first PT_LOAD* section will be loaded in memory.* Return:* 0 on success, negative value on failure.
函数原型:int kexec_elf_load(struct kimage *image, struct elf64_hdr *ehdr, struct kexec_elf_info *elf_info, struct kexec_buf *kbuf, unsigned long *lowest_load_addr)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kimage * | image | |
struct elf64_hdr * | ehdr | |
struct kexec_elf_info * | elf_info | |
struct kexec_buf * | kbuf | |
unsigned long * | lowest_load_addr |
393 | lowest_addr等于UINT_MAX |
407 | size等于 Segment size in file |
408 | 如果size大于 Segment size in memory 则size等于 Segment size in memory |
411 | buffer等于buffer加 Segment file offset |
413 | memsz等于 Segment size in memory |
416 | mem等于If kexec_buf.mem is set to this value, kexec_locate_mem_hole()* will try to allocate free memory. Arch may overwrite it. |
422 | 如果load_addr小于lowest_addr则lowest_addr等于load_addr |
427 | ret等于0 |
428 | out : |
429 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |