函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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:

函数原型:void __init e820__reserve_setup_data(void)

返回类型:void

参数:

995  pa_data等于安装数据地址
996  如果非pa_data则返回
999 pa_data循环
1000  data等于early_memremap(pa_data, data的长度)
1001  e820__range_update(pa_data, data的长度 + len, E820_TYPE_RAM, E820_TYPE_RESERVED_KERN)
1002  e820__range_update_kexec(pa_data, data的长度 + len, E820_TYPE_RAM, E820_TYPE_RESERVED_KERN)
1004  如果type恒等于SETUP_INDIRECTtype不等于SETUP_INDIRECT
1014  pa_data等于next
1015  early_memunmap(data, data的长度)
1018  e820__update_table(e820_table)
1019  e820__update_table(e820_table_kexec)
1021  打印信息("extended physical RAM map:\n")
1022  e820__print_table("reserve setup_data")
调用者
名称描述
setup_arch平台相关启动