]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Support EFIRT on arm64 with a non 4k page size
authorAndrew Turner <andrew@FreeBSD.org>
Wed, 23 Mar 2022 15:18:30 +0000 (15:18 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Wed, 23 Mar 2022 15:18:30 +0000 (15:18 +0000)
commit863f3220d09716ea2e570fadc6b19dcb6e4c2191
tree53d4b9abc6ca5aa5f0d3b1924f96b05a5f6fe1d3
parent16d5f9a1649e6a3e5841c6c41d6af9430ed9f064
Support EFIRT on arm64 with a non 4k page size

When the page size the kernel is built for is not the same as
EFI_PAGE_SIZE we need to increment the page index at a faster rate.

Add this adjustment to the arm64 EFIRT support in preperation for
experimental 16k PAGE_SIZE support.

Sponsored by: The FreeBSD Foundation
sys/arm64/arm64/efirt_machdep.c