Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\e820.c Create Date:2022-07-28 07:43:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static int __init append_e820_table(struct boot_e820_entry *entries, unsigned int nr_entries)

Type:int

Parameter:

TypeParameterName
struct boot_e820_entry *entries
unsigned intnr_entries
442  If nr_entries < 2 Then Return -1
445  Return __append_e820_table(entries, nr_entries)
Caller
NameDescribe
e820__memory_setup_defaultPass the firmware (bootloader) E820 map to the kernel and process it: