函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:alled before trim_bios_range() to spare extra sanitize

函数原型:static void __init e820_add_kernel_range(void)

返回类型:void

参数:

771  start等于We need __phys_reloc_hide() here because gcc may assume that there is no* overflow during __pa() calculation and can optimize it unexpectedly.* Newer versions of gcc provide -fno-strict-overflow switch to handle this* case properly(Usage guidelines:* _text, _data: architecture specific, don't use them in arch-independent code* [_stext, _etext]: contains .text.* sections, may also contain .rodata.** and/or .init.* sections* [_sdata, _edata]: contains )
772  size等于We need __phys_reloc_hide() here because gcc may assume that there is no* overflow during __pa() calculation and can optimize it unexpectedly.* Newer versions of gcc provide -fno-strict-overflow switch to handle this* case properly(_end)减start
781  如果e820__mapped_all(start, start + size, E820_TYPE_RAM)则返回
784  打印警告信息(".text .data .bss are not marked as E820_TYPE_RAM!\n")
785  e820__range_remove(start, size, E820_TYPE_RAM, 0)
786  e820__range_add(start, size, E820_TYPE_RAM)
调用者
名称描述
setup_arch平台相关启动