函数逻辑报告 |
Source Code:arch\x86\kernel\e820.c |
Create Date:2022-07-27 08:42:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__append_e820_table
函数原型:static int __init __append_e820_table(struct boot_e820_entry *entries, unsigned int nr_entries)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct boot_e820_entry * | entries | |
unsigned int | nr_entries |
412 | 当nr_entries循环 |
419 | 如果start大于end且此条件成立可能性大(为编译器优化)(size)则返回:负1 |
422 | e820__range_add(start, size, type) |
424 | entry自加 |
425 | nr_entries自减 |
427 | 返回:0 |
名称 | 描述 |
---|---|
append_e820_table | Copy the BIOS E820 map into a safe place.* Sanity-check it while we're at it..* If we're lucky and live on a modern system, the setup code* will have given us a memory map that we can use to properly* set up memory. If we aren't, we'll fake a memory map. |
e820__memory_setup_extended | Because of the small fixed size of struct boot_params, only the first* 128 E820 memory entries are passed to the kernel via boot_params.e820_table,* the remaining (if any) entries are passed via the SETUP_E820_EXT node of |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |