freebsd-dev/sys/arm64
Nathan Whitehorn 9a8196ce19 Remove SFBUF_OPTIONAL_DIRECT_MAP and such hacks, replacing them across the
kernel by PHYS_TO_DMAP() as previously present on amd64, arm64, riscv, and
powerpc64. This introduces a new MI macro (PMAP_HAS_DMAP) that can be
evaluated at runtime to determine if the architecture has a direct map;
if it does not (or does) unconditionally and PMAP_HAS_DMAP is either 0 or
1, the compiler can remove the conditional logic.

As part of this, implement PHYS_TO_DMAP() on sparc64 and mips64, which had
similar things but spelled differently. 32-bit MIPS has a partial direct-map
that maps poorly to this concept and is unchanged.

Reviewed by:		kib
Suggestions from:	marius, alc, kib
Runtime tested on:	amd64, powerpc64, powerpc, mips64
2018-01-19 17:46:31 +00:00
..
acpica Add support to find the arm64 serial using the ACPI tables. This uses the 2016-11-21 19:26:58 +00:00
arm64 Set the base address of translation table 0. 2018-01-18 16:20:09 +00:00
cavium If ofw_bus_msimap fails don't try to use the invalid MSI/MSI-X parent node. 2017-03-16 17:49:37 +00:00
cloudabi32 Port cloudabi32.ko to FreeBSD/arm64. 2017-11-30 17:58:48 +00:00
cloudabi64 Correct some more places where TO_PTR() should be used. 2017-11-26 14:53:56 +00:00
conf if_awg: Use syscon prop if it exists 2018-01-04 22:37:15 +00:00
include Remove SFBUF_OPTIONAL_DIRECT_MAP and such hacks, replacing them across the 2018-01-19 17:46:31 +00:00