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:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:void __init e820__memory_setup_extended(u64 phys_addr, unsigned int data_len)

Type:void

Parameter:

TypeParameterName
u64phys_addr
unsigned intdata_len
716  sdata = early_memremap(phys_addr, data_len)
717  entries = len / size of extmap
718  extmap = data
720  __append_e820_table(extmap, entries)
721  e820__update_table(e820_table)
723  memcpy(e820_table_kexec, e820_table, size of e820_table_kexec )
724  memcpy(e820_table_firmware, e820_table, size of e820_table_firmware )
726  early_memunmap(sdata, data_len)
727  pr_info("extended physical RAM map:\n")
728  e820__print_table("extended")