freebsd-dev/stand/powerpc
Leandro Lupori a58abcde2c powerpc64: change CAS to support Radix MMU
Use radix_mmu environment variable to select between Hash or Radix
MMU, when performing the CAS method call. This matches kernel's
behavior, by selecting Hash MMU by default and Radix if radix_mmu
is not zero, to make sure that both loader and kernel always select
the same MMU.

The device tree is queried to detect Radix/GTSE support and to
find out if CAS is supported, making the old CPU version and HV
bit checks unnecessary now.

Reviewed by:		jhibbits
MFC after:		2 weeks
Sponsored by:		Instituto de Pesquisas Eldorado (eldorado.org.br)
Differential Revision:	https://reviews.freebsd.org/D31951
2021-09-15 15:24:40 -03:00
..
boot1.chrp Disable PIE for powerpc bootloaders. 2021-02-25 00:26:11 +01:00
kboot loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
ofw powerpc64: change CAS to support Radix MMU 2021-09-15 15:24:40 -03:00
uboot Disable PIE for powerpc bootloaders. 2021-02-25 00:26:11 +01:00
Makefile stand: TARGET_ARCH is spelled MACHINE_ARCH in Makefiles 2019-05-21 03:05:24 +00:00
Makefile.inc