freebsd-nq/stand
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
..
arm Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
arm64 Add an loader command on arm64 to sync the cache 2022-01-04 10:08:32 +00:00
common loader: tslog: Add more log for module loading 2022-01-27 11:06:43 +01:00
defaults loader: Set twiddle globaldiv to 16 by default 2021-12-29 14:53:19 -08:00
efi loader: Do not force comconsole for arm and arm64 2022-01-14 14:38:34 +01:00
fdt loader: Fix dtb loading 2022-01-14 14:44:36 +01:00
ficl ficl: Fix a typo in a comment 2021-12-03 16:53:00 +01:00
ficl32 Enable veriexec for loader 2019-02-26 06:22:10 +00:00
fonts loader: really use bold font for vga text mode 2021-01-08 01:24:30 +02:00
forth loader: support.4th resets the read buffer incorrectly 2021-09-12 09:56:15 -06:00
i386 loader: implement mount/unmount rootfs 2022-01-13 08:58:21 +01:00
images loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
kshim Fix build of stand/usb . 2021-05-10 16:11:19 +02:00
liblua contrib/lua: update to 5.4.2 2021-01-13 23:56:18 -06:00
liblua32
libofw loader: implement mount/unmount rootfs 2022-01-13 08:58:21 +01:00
libsa Disable clang 14 warning about bitwise operators in one more place 2022-02-11 17:42:46 +01:00
libsa32 Enable veriexec for loader 2019-02-26 06:22:10 +00:00
lua loader: lua: test that /boot exists first 2022-01-13 08:58:54 +01:00
man loader: Set twiddle globaldiv to 16 by default 2021-12-29 14:53:19 -08:00
mips Disable PIE for MIPS ubldr 2022-01-23 11:09:53 +01:00
powerpc powerpc64: fix loader regression 2022-03-04 19:18:22 -03:00
uboot loader: implement mount/unmount rootfs 2022-01-13 08:58:21 +01:00
usb Fix build of stand/usb . 2020-01-23 10:40:34 +00:00
userboot loader: implement mount/unmount rootfs 2022-01-13 08:58:21 +01:00
defs.mk powerpc64le: stand fixes 2021-11-05 11:29:40 -03:00
fdt.mk
ficl.mk loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
loader.mk MFC loader+userland TSLOG support 2021-12-29 14:53:18 -08:00
lua.mk
Makefile stand: ensure that the efi directory's dependencies are correct 2021-01-29 23:46:17 -06:00
Makefile.amd64 stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
Makefile.inc stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
uboot.mk