函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:e820__reserve_resources

函数原型:void __init e820__reserve_resources(void)

返回类型:void

参数:

1127  res等于memblock_alloc(res的长度 * nr_entries, SMP_CACHE_BYTES)
1129  如果非respanic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
1132  Mark E820 reserved areas as busy for the resource manager:等于res
1134 i小于nr_entries循环
1135  entry等于entriesi
1137  end等于addrsize减1
1138  如果end不等于end
1139  res自加
1140  继续下一循环
1142  start等于addr
1143  end等于end
1144  name等于e820_type_to_string(entry)
1145  flags等于e820_type_to_iomem_type(entry)
1146  desc等于e820_type_to_iores_desc(entry)
1153  如果do_mark_busy(type, res)则
1157  res自加
1161 i小于nr_entries循环
1162  entry等于entriesi
1164  provide a dummy interface if CONFIG_FIRMWARE_MEMMAP is disabled
调用者
名称描述
setup_arch平台相关启动