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

Name:Reserve all entries from the bootloader's extensible data nodes list,* because if present we are going to use it later on to fetch e820* entries from it:

Proto:void __init e820__reserve_setup_data(void)

Type:void

Parameter:Nothing

995  pa_data = setup_data
996  If Not pa_data Then Return
999  When pa_data cycle
1000  data = early_memremap(pa_data, size of data )
1001  e820__range_update(pa_data, size of data + len, E820_TYPE_RAM, E820_TYPE_RESERVED_KERN)
1002  e820__range_update_kexec(pa_data, size of data + len, E820_TYPE_RAM, E820_TYPE_RESERVED_KERN)
1004  If type == SETUP_INDIRECT && type != SETUP_INDIRECT Then
1014  pa_data = next
1015  early_memunmap(data, size of data )
1018  e820__update_table(e820_table)
1019  e820__update_table(e820_table_kexec)
1021  pr_info("extended physical RAM map:\n")
1022  e820__print_table("reserve setup_data")