opnsense-src/stand/uboot
Albert Jakiela 0f39272b88 stand/uboot: setup archsw before probing devices
In some cases ubldr would try to mount a disk device before
the archsw struct was filled with functions pointers.
This would result in a NULL pointer derefrence of the arch_getdev field.
Fix that filling the archsw functions earlier.
Note that this matches the EFI behavoiur.

Reviewed by: imp, mw
Sponsored by: Stormshield
Obtained from: Semihalf
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D35670

(cherry picked from commit 1323f0aa9c)
2022-07-19 11:37:10 +02:00
..
common stand/uboot: setup archsw before probing devices 2022-07-19 11:37:10 +02:00
fdt stand/fdt: Scale blob size better as overlays apply 2020-01-09 04:34:42 +00:00
lib loader: implement mount/unmount rootfs 2022-01-13 08:58:21 +01:00
Makefile stand: Fix build after r330249 2018-03-01 21:46:01 +00:00
Makefile.inc