freebsd-skq/sys/boot/common
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
..
bcache.c
boot.c
bootstrap.h
commands.c
console.c
crc32.c
crc32.h
dev_net.c
dev_net.h
devopen.c
disk.c
disk.h
gpt.c
gpt.h
help.common
install.c
interp_backslash.c
interp_forth.c
interp_parse.c
interp.c
isapnp.c
isapnp.h
load_elf32_obj.c
load_elf32.c
load_elf64_obj.c
load_elf64.c
load_elf_obj.c
load_elf.c
loader.8
ls.c
Makefile.inc
md.c
merge_help.awk
misc.c
module.c
newvers.sh
panic.c
part.c
part.h
pnp.c
reloc_elf32.c
reloc_elf64.c
reloc_elf.c
self_reloc.c
ufsread.c
util.c
util.h
zfsloader.8