]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use EFI memory map to determine attributes for Acpi mappings on arm64.
authorandrew <andrew@FreeBSD.org>
Sun, 28 Jun 2020 15:03:07 +0000 (15:03 +0000)
committerandrew <andrew@FreeBSD.org>
Sun, 28 Jun 2020 15:03:07 +0000 (15:03 +0000)
commit1ee69c6890082e3ea16df85ff31c111a5528dacc
tree66553ebf2ae7ef44eaedccc27b461f8b2810b5f9
parent5280dee6eefa763addabc56cfcfbeb510fd4bebd
Use EFI memory map to determine attributes for Acpi mappings on arm64.

AcpiOsMapMemory is used for device memory when e.g. an _INI method wants
to access physical memory, however, aarch64 pmap_mapbios is hardcoded to
writeback. Search for the correct memory type to use in pmap_mapbios.

Submitted by: Greg V <greg_unrelenting.technology>
Differential Revision: https://reviews.freebsd.org/D25201
sys/arm64/arm64/machdep.c
sys/arm64/arm64/pmap.c
sys/arm64/include/machdep.h