Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\setup.c Create Date:2022-07-28 07:40:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:alled before trim_bios_range() to spare extra sanitize

Proto:static void __init e820_add_kernel_range(void)

Type:void

Parameter:Nothing

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  If e820__mapped_all(start, start + size, E820_TYPE_RAM) Then Return
784  pr_warn(".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)
Caller
NameDescribe
setup_archsetup_arch - architecture-specific boot-time initializations* Note: On x86_64, fixmaps are ready for use even before this is called.