freebsd-dev/sys/boot/efi
Ian Lepore 5b1c03fd13 The self-relocation code is not efi-specific, move it to boot/common.
The function was defined as taking 4 parameters and returning EFI_STATUS,
but all existing callers (in asm code) passed only two parameters and don't
use the return value. The function signature now matches that usage, and
doesn't refer to efi-specific types.

Parameters and variables now use the cannonical typenames set up by elf.h
(Elf_Word, Elf_Addr, etc) instead of raw C types. Hopefully this will
prevent suprises as new platforms come along and use this code.

The function was renamed from _reloc() to self_reloc() to emphasize its
difference from the other elf relocation code found in boot/common.

Differential Revision:	https://reviews.freebsd.org/D2490
2015-05-10 13:24:26 +00:00
..
boot1 The self-relocation code is not efi-specific, move it to boot/common. 2015-05-10 13:24:26 +00:00
fdt Fix the arm64 MACHINE_CPUARCH value in the efi fdt glue code. 2015-04-14 10:41:57 +00:00
include Add support for arm64 to loader.efi and boot1.efi 2015-04-14 13:55:01 +00:00
libefi Disable the use of floating-point and vector registers in the loader. They 2015-05-05 11:00:50 +00:00
loader The self-relocation code is not efi-specific, move it to boot/common. 2015-05-10 13:24:26 +00:00
Makefile Add support for arm64 to loader.efi and boot1.efi 2015-04-14 13:55:01 +00:00
Makefile.inc Clean up more x86 only options in the efi code. 2015-04-03 15:25:59 +00:00