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:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:e820_type_to_string

Proto:static const char *__init e820_type_to_string(struct e820_entry *entry)

Type:char

Parameter:

TypeParameterName
struct e820_entry *entry
1044  Case type == E820_TYPE_RESERVED_KERN
1045  Case type == E820_TYPE_RAM
1045  Return "System RAM"
1046  Case type == E820_TYPE_ACPI
1046  Return "ACPI Tables"
1047  Case type == E820_TYPE_NVS
1047  Return "ACPI Non-volatile Storage"
1048  Case type == E820_TYPE_UNUSABLE
1048  Return "Unusable memory"
1049  Case type == E820_TYPE_PRAM
1049  Return "Persistent Memory (legacy)"
1050  Case type == E820_TYPE_PMEM
1050  Return "Persistent Memory"
1051  Case type == E820_TYPE_RESERVED
1051  Return "Reserved"
1052  Case type == E820_TYPE_SOFT_RESERVED
1052  Return "Soft Reserved"
1053  Default
1053  Return "Unknown E820 type"
Caller
NameDescribe
e820__reserve_resources