freebsd-src/stand/powerpc
Leandro Lupori 680ca73945 powerpc64: fix loader regression
After b4cb3fe0e3, loader started crashing on PowerPC64, with a
Program Exception (700) error. The problem was that archsw was
used before being initialized, with the new mount feature. This
change fixes the issue by initializing archsw earlier, before
setting currdev, that triggers the mount.

Reviewed by:		tsoome
MFC after:		1 month
X-MFC-With:		b4cb3fe0e3
Sponsored by:		Instituto de Pesquisas Eldorado (eldorado.org.br)
Differential Revision:	https://reviews.freebsd.org/D32027
2021-09-21 17:22:42 -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: fix loader regression 2021-09-21 17:22:42 -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