freebsd-dev/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 loader: implement multiboot support for Xen Dom0 2015-01-15 16:27:20 +00:00
commands.c
console.c Add a new loader(8) variable, twiddle_divisor, allowing control over the 2014-12-22 22:07:22 +00:00
crc32.c
crc32.h
dev_net.c
dev_net.h
devopen.c
disk.c Rework bootparttest to use more code from sys/boot. 2014-10-05 06:04:47 +00:00
disk.h Fix comment. 2014-10-08 12:33:31 +00:00
gpt.c
gpt.h
help.common
install.c Change the order of the arguments to file_loadraw(). They were swapped 2014-11-01 18:51:48 +00:00
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 loader: implement multiboot support for Xen Dom0 2015-01-15 16:27:20 +00:00
load_elf.c Add code to support loading relocatable kernels at offsets that are not 2015-01-31 18:42:51 +00:00
loader.8 mdoc: remove EOL whitespace. 2014-12-29 13:50:59 +00:00
ls.c
Makefile.inc Add support for arm64 to loader.efi and boot1.efi 2015-04-14 13:55:01 +00:00
md.c Small change in header order to allow this to compile. 2015-04-27 07:38:46 +00:00
merge_help.awk
misc.c In alloc_pread() and kern_pread(), print errors only when DEBUG is 2014-11-05 04:18:41 +00:00
module.c loader: implement multiboot support for Xen Dom0 2015-01-15 16:27:20 +00:00
newvers.sh
panic.c
part.c Add a bit more debug messages. 2014-10-05 06:00:22 +00:00
part.h
pnp.c
reloc_elf32.c
reloc_elf64.c
reloc_elf.c
self_reloc.c The self-relocation code is not efi-specific, move it to boot/common. 2015-05-10 13:24:26 +00:00
ufsread.c
util.c
util.h
zfsloader.8 Misc mdoc fixes: 2014-11-23 21:00:00 +00:00