Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:do_mark_busy

Proto:static bool __init do_mark_busy(enum e820_type type, struct resource *res)

Type:bool

Parameter:

TypeParameterName
enum e820_typetype
struct resource *res
1092  If start < 1ULL << 20 Then Return true
1100  Case type == E820_TYPE_RESERVED
1101  Case type == E820_TYPE_SOFT_RESERVED
1102  Case type == E820_TYPE_PRAM
1103  Case type == E820_TYPE_PMEM
1104  Return false
1105  Case type == E820_TYPE_RESERVED_KERN
1106  Case type == E820_TYPE_RAM
1107  Case type == E820_TYPE_ACPI
1108  Case type == E820_TYPE_NVS
1109  Case type == E820_TYPE_UNUSABLE
1110  Default
1111  Return true
Caller
NameDescribe
e820__reserve_resources