freebsd-dev/sys/boot/arm/uboot
Ian Lepore 4260eff804 Preserve the registers containing argc, argv, and return address values
passed in from u-boot across the call to self_reloc and any other early-init
code, and restore them before calling main().

The self_reloc() routine uses r0 and r1 (and calling it uses lr), and
depending on what values get left in them, main() would intermittantly lock
up trying to interpret them as argc and argv values.  This problem affected
the self-relocatable ubldr.bin but not ubldr (the elf version).
2017-04-01 21:51:34 +00:00
..
conf.c
help.uboot Add a 'ubenv import' command to import environment variables from the 2014-09-08 19:19:10 +00:00
ldscript.arm Align the start of the text segment to an 8-byte boundary. This fixes 2016-04-09 19:09:06 +00:00
loader.conf Create a custom /boot/defaults/loader.conf for ARM. This differs from the 2015-01-03 19:38:37 +00:00
Makefile self_reloc.c: Pass -Wno-error=maybe-uninitialized to gcc versions greater than 4.2.1 2017-03-28 23:56:02 +00:00
start.S Preserve the registers containing argc, argv, and return address values 2017-04-01 21:51:34 +00:00
version