函数逻辑报告 |
Source Code:arch\x86\kernel\kexec-bzimage64.c |
Create Date:2022-07-27 09:36:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:setup_cmdline
函数原型:static int setup_cmdline(struct kimage *image, struct boot_params *params, unsigned long bootparams_load_addr, unsigned long cmdline_offset, char *cmdline, unsigned long cmdline_len)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kimage * | image | |
struct boot_params * | params | |
unsigned long | bootparams_load_addr | |
unsigned long | cmdline_offset | |
char * | cmdline | |
unsigned long | cmdline_len |
73 | len等于0 |
80 | memcpy(cmdline_ptr + len, cmdline, cmdline_len) |
81 | cmdline_len加等于len |
83 | cmdline_ptr[cmdline_len - 1]等于'\0' |
85 | pr_debug("Final command line is: %s\n", cmdline_ptr) |
87 | cmdline_low_32等于cmdline_ptr_phys按位与0xffffffffUL |
88 | cmdline_ext_32等于cmdline_ptr_phys右移32位 |
90 | 命令行指针等于cmdline_low_32 |
91 | 如果cmdline_ext_32则0x0c8 等于cmdline_ext_32 |
94 | 返回:0 |
名称 | 描述 |
---|---|
bzImage64_load |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |