函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\e820.c Create Date:2022-07-27 08:43:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Pass the firmware (bootloader) E820 map to the kernel and process it:

函数原型:char *__init e820__memory_setup_default(void)

返回类型:char

参数:

1229  who等于"BIOS-e820"
1237  如果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.小于0则
1241  如果可变内存大小小于延伸记忆体
1243  who等于"BIOS-88"
1244  否则
1246  who等于"BIOS-e801"
1249  nr_entries等于0
1250  e820__range_add(0, Do NOT EVER look at the BIOS memory size location.* It does not work on many machines.(), E820_TYPE_RAM)
1251  e820__range_add(HIGH_MEMORY, mem_size << 10, E820_TYPE_RAM)
1255  e820__update_table(e820_table)
1257  返回:who