freebsd-dev/stand
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
..
arm Remove obsolete code gated on _ARM_ARCH_* 2021-01-28 10:41:45 +00:00
arm64 No need to make objects here. 2018-04-27 22:15:18 +00:00
common style: Fix leading whitespace in bcache.c 2021-09-19 15:24:00 -07:00
defaults loader.conf(5): mention "efi" option for "console" parameter 2021-08-01 06:41:49 +08:00
efi efi loader: Typo 2021-09-21 12:09:55 -04:00
fdt loader: Fix dtb loading 2021-07-05 15:53:08 +02:00
ficl loader: implement framebuffer console 2021-01-02 21:41:36 +02: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-07-28 13:50:38 -06:00
i386 i386 loaders: avoid lld 13 garbage collecting linker sets 2021-09-08 14:04:13 +02:00
images loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
kshim Fix build of stand/usb . 2021-04-12 16:13:33 +02:00
liblua EFI secure boot VECTX related changes 2021-04-30 12:53:45 -05:00
liblua32 Add Lua as a scripting langauge to /boot/loader 2018-02-12 15:31:53 +00:00
libofw loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
libsa loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
libsa32 Enable veriexec for loader 2019-02-26 06:22:10 +00:00
lua lualoader: use more concise verbiage for autoboot 2021-09-09 02:01:50 -05:00
man loader: Create loader_simp(8) to document simple version of loader 2021-07-14 16:59:51 -06:00
mips loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
powerpc powerpc64: fix loader regression 2021-09-21 17:22:42 -03:00
uboot loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
usb Fix build of stand/usb . 2020-01-23 10:40:34 +00:00
userboot loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
defs.mk stand: Add MK_PIE=no to defs.mk 2021-08-11 11:03:19 -06:00
fdt.mk
ficl.mk EFI secure boot VECTX related changes 2021-04-30 12:53:45 -05:00
loader.mk stand/common: Add support for timestamp logging (tslog) 2021-06-20 20:09:43 -07:00
lua.mk Do not include float interfaces when using libsa. 2018-02-23 04:04:25 +00:00
Makefile stand: ensure that the efi directory's dependencies are correct 2021-01-27 13:02:51 -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 Unify metadata load files for arm, mips, powerpc, sparc64 2018-02-13 03:44:50 +00:00
veriexec.mk EFI secure boot VECTX related changes 2021-04-30 12:53:45 -05:00