函数逻辑报告 |
Source Code:arch\x86\kernel\crash.c |
Create Date:2022-07-27 09:36:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Prepare memory map for crash dump kernel
函数原型:int crash_setup_memmap_entries(struct kimage *image, struct boot_params *params)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kimage * | image | |
struct boot_params * | params |
334 | ret等于0 |
344 | memset( & cmd, 0, sizeof(structcrash_memmap_data)) |
348 | Type of memory 等于E820_TYPE_RAM |
350 | walk_iomem_res_desc(IORES_DESC_NONE, flags, 0, (1 << 20) - 1, & cmd, memmap_entry_callback) |
354 | Type of memory 等于E820_TYPE_ACPI |
356 | walk_iomem_res_desc(IORES_DESC_ACPI_TABLES, flags, 0, - 1, & cmd, memmap_entry_callback) |
360 | Type of memory 等于E820_TYPE_NVS |
361 | walk_iomem_res_desc(IORES_DESC_ACPI_NV_STORAGE, flags, 0, - 1, & cmd, memmap_entry_callback) |
366 | flags等于IORESOURCE_MEM |
367 | walk_iomem_res_desc(IORES_DESC_RESERVED, flags, 0, - 1, & cmd, memmap_entry_callback) |
371 | 如果end则 |
390 | type等于E820_TYPE_RAM |
391 | add_e820_entry(params, & ei) |
394 | out : |
396 | 返回:ret |
名称 | 描述 |
---|---|
setup_boot_parameters |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |