HardenedBSD/stand/powerpc
Leandro Lupori ed726c3e34 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

(cherry picked from commit 680ca73945)
2022-03-04 19:18:22 -03:00
..
boot1.chrp Disable PIE for powerpc bootloaders. 2022-01-23 11:09:53 +01:00
kboot Disable PIE for powerpc bootloaders. 2022-01-23 11:09:53 +01:00
ofw powerpc64: fix loader regression 2022-03-04 19:18:22 -03:00
uboot Disable PIE for powerpc bootloaders. 2022-01-23 11:09:53 +01:00
Makefile
Makefile.inc