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

Name:How much should we pad the end of RAM, depending on where it is?

Proto:static unsigned long __init ram_alignment(resource_size_t pos)

Type:unsigned long

Parameter:

TypeParameterName
resource_size_tpos
1173  mb = pos >> 20
1176  If Not mb Then Return 64 * 1024
1180  If mb < 16 Then Return 1024 * 1024
1184  Return 64 * 1024 * 1024
Caller
NameDescribe
e820__reserve_resources_late