]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the spelling of EFI_PAGE_SIZE
authorAndrew Turner <andrew@FreeBSD.org>
Wed, 9 Mar 2022 12:59:01 +0000 (12:59 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Mon, 4 Apr 2022 09:37:06 +0000 (10:37 +0100)
commit4366c226436b0863c62b1dbcf8171479269b4d85
tree468fff9dce28dfe7019fa50bf7d322a987f1af82
parent722273ba668a0c20053c11df89e31b42db7955b1
Fix the spelling of EFI_PAGE_SIZE

We assume EFI_PAGE_SIZE is the same as PAGE_SIZE, however this may not
be the case. Use the former when working with a list of pages from the
UEFI firmware so the correct size is used.

This will be needed on arm64 where PAGE_SIZE could be 16k or 64k in the
future. The other architectures have been updated to be consistent.

Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34510

(cherry picked from commit 9cf15aefb9d6f97687ae4a497917be36ac125558)
sys/amd64/amd64/machdep.c
sys/arm/arm/machdep_boot.c
sys/arm64/arm64/machdep.c