HomeFreeBSD

amd64: Define KVA regions for KMSAN shadow maps

Description

amd64: Define KVA regions for KMSAN shadow maps

KMSAN requires two shadow maps, each one-to-one with the kernel map.
Allocate regions of the kernels PML4 page for them. Add functions to
create mappings in the shadow map regions, these will be used by the
KMSAN runtime.

Reviewed by: alc, kib
Sponsored by: The FreeBSD Foundation

(cherry picked from commit f95f780ea4e163ce9a0295a699f41f0a7e1591d4)

Details

Provenance
markjAuthored on Aug 10 2021, 8:25 PM
Parents
rG5fdfe78b42d0: conf: Add a KMSAN kernel option
Branches
Unknown
Tags
Unknown