freebsd-dev/stand/powerpc/ofw
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
..
cas.c powerpc64: change CAS to support Radix MMU 2021-09-15 15:24:40 -03:00
conf.c Add support to MSDOS FS in PPC loader 2020-04-07 19:46:00 +00:00
elf_freebsd.c [PowerPC64] stand: fix build using clang 8 as compiler 2019-05-20 19:21:35 +00:00
gfx_fb.c loader: fix powerpc build with gfx_fb 2021-01-04 16:57:58 +00:00
ldscript.powerpc [PowerPC] Fix LLD10 linking of ofw loader on ppc 2020-02-25 00:45:09 +00:00
main.c loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
Makefile Disable PIE for powerpc bootloaders. 2021-02-25 00:26:11 +01:00
ofwfdt.c [PPC] Fix loader call to instantiate-rtas 2020-04-07 12:46:26 +00:00
ppc64_elf_freebsd.c [PowerPC64] stand: fix build using clang 8 as compiler 2019-05-20 19:21:35 +00:00
start.c Declare our strange brand of main(). 2017-12-03 04:55:14 +00:00
version