freebsd-nq/stand
Andrew Turner b9aa4537b2 Use adrp in the arm64 efi loader
On startup the arm64 efi loaders need to know PC-relative addresses.
Previously we used the adr instruction to find this address, however this
instruction is limited to +/- 1MiB.

Switch to adrp to find the 4k page the address is within and an add to
set the bottom 12 bits. This lets us address +/- 4GiB which should be
large enough for now.

Reported by:	imp
MFC after:	2 weeks
Sponsored by:	Innovate UK
2020-10-13 16:51:05 +00:00
..
arm Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
arm64 No need to make objects here. 2018-04-27 22:15:18 +00:00
common stand/reloc_elf: Handle relative relocations for arm{,64} and riscv 2020-09-21 22:24:46 +00:00
defaults Fix a few mandoc issues 2020-10-09 15:14:19 +00:00
efi Use adrp in the arm64 efi loader 2020-10-13 16:51:05 +00:00
fdt stand/fdt: Scale blob size better as overlays apply 2020-01-09 04:34:42 +00:00
ficl Tweak ficl definition from r365724 2020-09-22 23:27:09 +00:00
ficl32 Enable veriexec for loader 2019-02-26 06:22:10 +00:00
forth Fix a few mandoc issues 2020-10-09 15:14:19 +00:00
i386 loader: edd_device_path_v3 is too small 2020-10-12 09:34:50 +00:00
kshim A more definitions to kernel emulation shim in order to build stand/usb. 2018-02-07 18:50:36 +00:00
liblua Only set WARNS if not defined 2020-09-11 13:28:37 +00:00
liblua32 Add Lua as a scripting langauge to /boot/loader 2018-02-12 15:31:53 +00:00
libofw Fix 64-bit build of libofw. 2020-09-08 23:22:11 +00:00
libsa Force __BMI__ experimental instructions off. 2020-10-13 04:37:57 +00:00
libsa32 Enable veriexec for loader 2019-02-26 06:22:10 +00:00
lua lualoader: improve the design of the brand-/logo- mechanism 2020-10-04 22:41:43 +00:00
man Correct the documented size of kern.msgbufsize 2020-10-02 15:37:51 +00:00
mips stand: -fno-common fixes for !x86 loaders 2020-04-07 12:57:50 +00:00
powerpc stand/ficl 64-bit compatibility 2020-09-14 15:48:30 +00:00
uboot stand/uboot: fix setting of gateip.s_addr 2020-06-01 23:44:03 +00:00
usb Fix build of stand/usb . 2020-01-23 10:40:34 +00:00
userboot loader: zfs should support bootonce an nextboot 2020-09-21 09:01:10 +00:00
defs.mk [PowerPC64LE] Set up powerpc.powerpc64le architecture 2020-09-22 23:49:30 +00:00
fdt.mk
ficl.mk ficl pfopen: verify file 2019-05-24 19:43:38 +00:00
loader.mk loader: zfs should support bootonce an nextboot 2020-09-21 09:01:10 +00:00
lua.mk Do not include float interfaces when using libsa. 2018-02-23 04:04:25 +00:00
Makefile Move stand/ofw/libofw to stand/libofw. 2020-01-02 04:34:22 +00:00
Makefile.amd64 Create LOADER_UBOOT, and LOADER_OFW. Move these options out of 2018-03-01 19:50:55 +00:00
Makefile.inc
uboot.mk Unify metadata load files for arm, mips, powerpc, sparc64 2018-02-13 03:44:50 +00:00