]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Start to support multiple stages in the arm64 pmap.
authorandrew <andrew@FreeBSD.org>
Wed, 26 Feb 2020 11:47:24 +0000 (11:47 +0000)
committerandrew <andrew@FreeBSD.org>
Wed, 26 Feb 2020 11:47:24 +0000 (11:47 +0000)
commitb28fc4c314c56108154f488b0a815acdba8c3cc9
treea51d56fbe6f7f341f323a5675c8c3045bcf924f6
parent6cb95687b2be0edd46ac42b3fa105f4b8fb0a868
Start to support multiple stages in the arm64 pmap.

On arm64 the stage 1 and stage 2 pte formats are similar enough we can
reuse the pmap code for both. As they are only similar and not identical
we need to know if we are managing stage 1 or stage 2 tables.

Add an enum to store this information and a check to make sure it is
set to stage 1 when we manage stage 1 pte fields.

Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D23830
sys/arm64/arm64/pmap.c
sys/arm64/include/pmap.h