freebsd-skq/stand
Brandon Bergren a8614f0eec [PowerPC] Fix 32-bit ubldr calling convention
Due to the way u-boot for 32-bit powerpc is compiled, the interrupt code
assumes that the GOT pointer (r30) on u-boot is always intact.

When making syscalls to u-boot, ensure that we have restored r30 like we
found it before we enable interrupts to prevent u-boot from crashing if a
timer interrupt was pending.

This fixes ubldr on e500 qemu (assuming you have recompiled qemu's u-boot
with API support!)

Reviewed by:	jhibbits
Sponsored by:	Tag1 Consulting, Inc.
Differential Revision:	https://reviews.freebsd.org/D23258
2020-01-19 04:13:19 +00:00
..
arm Remove NAND and NANDFS support 2019-06-25 04:50:09 +00:00
arm64
common loader: clean up devopen and devclose a bit 2019-12-13 08:41:37 +00:00
defaults
efi Backout 356693. The libsa malloc does provide necessary alignment and 2020-01-13 20:02:27 +00:00
fdt stand/fdt: Scale blob size better as overlays apply 2020-01-09 04:34:42 +00:00
ficl Add support for hypervisor check on x86 2019-10-24 20:02:48 +00:00
ficl32
forth loader_4th: menu items need to reset color attribute, not switch to white 2019-09-22 16:10:25 +00:00
i386 Backout 356693. The libsa malloc does provide necessary alignment and 2020-01-13 20:02:27 +00:00
kshim
liblua stand: liblua: drop default buffer size to 128 2019-12-12 01:35:56 +00:00
liblua32
libofw Backout 356693. The libsa malloc does provide necessary alignment and 2020-01-13 20:02:27 +00:00
libsa loader: update zfsimpl.c from illumos review suggestions 2020-01-06 19:35:22 +00:00
libsa32
lua lualoader: correct a typo from r354247 2019-12-03 18:44:19 +00:00
man
mips mips: ubldr: use truncated load address for mips32 2019-09-18 01:33:17 +00:00
powerpc [PowerPC] Fix 32-bit ubldr calling convention 2020-01-19 04:13:19 +00:00
sparc64 Move stand/ofw/libofw to stand/libofw. 2020-01-02 04:34:22 +00:00
uboot Backout 356693. The libsa malloc does provide necessary alignment and 2020-01-13 20:02:27 +00:00
usb
userboot loader: userboot/test should accept more than one disk 2019-11-03 09:14:29 +00:00
defs.mk Move stand/ofw/libofw to stand/libofw. 2020-01-02 04:34:22 +00:00
fdt.mk
ficl.mk
loader.mk Add flua to the base system, install to /usr/libexec 2019-11-18 23:21:13 +00:00
lua.mk
Makefile Move stand/ofw/libofw to stand/libofw. 2020-01-02 04:34:22 +00:00
Makefile.amd64
Makefile.inc
uboot.mk