Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:reserve_bios_regions

Proto:void __init reserve_bios_regions(void)

Type:void

Parameter:Nothing

66  If Not reserve_bios_regions Then Return
74  bios_start = __va(This function reserves all conventional PC system BIOS related* firmware memory areas (some of which are data, some of which* are code), that must not be used by the kernel as available* RAM)
75  bios_start <<= 10
82  If bios_start < 128K, less than this is insane || bios_start > 640K, absolute maximum Then bios_start = 640K, absolute maximum
86  ebda_start = Returns physical address of EBDA. Returns 0 if there is no EBDA.
93  If ebda_start >= 128K, less than this is insane && ebda_start < bios_start Then bios_start = ebda_start
97  memblock_reserve(bios_start, 0x100000 - bios_start)
Caller
NameDescribe
setup_archsetup_arch - architecture-specific boot-time initializations* Note: On x86_64, fixmaps are ready for use even before this is called.