]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move the arm64 DMAP creation to C
authorAndrew Turner <andrew@FreeBSD.org>
Tue, 15 Mar 2022 17:05:48 +0000 (17:05 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Wed, 6 Apr 2022 13:09:49 +0000 (14:09 +0100)
commitbcd763b642abb4b236902e84184c579225265fb7
tree044318f307d4b6e1c634d5bd5f537b4e89ac6649
parent40b97c41bc775b73ccafdb0d9e02cfd45deaa5f7
Move the arm64 DMAP creation to C

To simplify the creation of the direct map (DMAP) region on arm64 move
it from the pre-C code into pmap. This simplifies the DMAP creation
as we can use the notmal index macros, and should reduce the number
of pages needed to hold the level 1 tables to just those needed.

Reviewed by: alc, dch
Tested by: dch, kevans
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34568
sys/arm64/arm64/locore.S
sys/arm64/arm64/pmap.c