opnsense-src/sys/boot/common
Marius Strobl fe245df2da Fix a bug introduced in r223938; on big-endian machines coping a 32-bit
quantum bytewise to the address of a 64-bit variable results in writing
to the "wrong" 32-bit half so adjust the address accordingly. This fix
is implemented in a hackish way for two reasons:
o in order to be able to get it into 8.3 with zero impact on the little-
  endian architectures where this bug has no effect and
o to avoid blowing the x86 boot2 out of the water again when compiling
  it with clang, which all sane versions of this fix tested do.
This change fixes booting from UFS1 file systems on big-endian machines.

MFC after:	3 days
2012-03-11 13:39:19 +00:00
..
bcache.c
boot.c Introduce a new option (BOOT_PROMPT_123) that lets enter the boot prompt 2009-11-12 01:30:17 +00:00
bootstrap.h Add 2 new archsw interfaces: 2011-04-03 22:31:51 +00:00
commands.c Close a file descriptor leak in an error case. 2009-10-28 10:06:27 +00:00
console.c
crc32.c - Split code shared by almost any boot loader into separate files and 2010-09-24 19:49:12 +00:00
crc32.h - Split code shared by almost any boot loader into separate files and 2010-09-24 19:49:12 +00:00
dev_net.c - Add code allowing a network device to only be open and closed once 2010-01-09 21:23:39 +00:00
dev_net.h
devopen.c Show info about net devices in loader's 'lsdev' command. While there fix style. 2008-09-03 17:41:44 +00:00
disk.c With LOADER_MBR_SUPPORT defined and LOADER_GPT_SUPPORT undefined we would 2011-10-20 15:46:54 +00:00
disk.h Add a version of the FreeBSD bootloader which can run in userland, packaged 2011-06-30 16:08:56 +00:00
gpt.c Rename bcpy() macro to bcopy(). 2011-02-27 12:25:47 +00:00
gpt.h - Split code shared by almost any boot loader into separate files and 2010-09-24 19:49:12 +00:00
help.common
interp.c a whitespace nit 2011-05-07 13:57:30 +00:00
interp_backslash.c
interp_forth.c
interp_parse.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
isapnp.c
isapnp.h
load_elf.c Add a version of the FreeBSD bootloader which can run in userland, packaged 2011-06-30 16:08:56 +00:00
load_elf32.c
load_elf32_obj.c
load_elf64.c
load_elf64_obj.c
load_elf_obj.c Minimize backward seeks when trying to load ELF relocatable modules. 2011-06-19 13:35:41 +00:00
loader.8 Document comconsole_port and comconsole_pcidev loader variables. 2012-01-07 11:16:23 +00:00
ls.c
Makefile.inc Add a version of the FreeBSD bootloader which can run in userland, packaged 2011-06-30 16:08:56 +00:00
md.c Add support for memory disk (md). The size of the memory disk 2009-12-13 01:20:32 +00:00
merge_help.awk
misc.c Setting a variable to the same value twice doesn't actually make it 2008-08-04 06:39:52 +00:00
module.c Fix a long standing bug where file_load() passes down the global loadaddr 2011-04-04 16:59:46 +00:00
newvers.sh
panic.c
pnp.c
reloc_elf.c Add a version of the FreeBSD bootloader which can run in userland, packaged 2011-06-30 16:08:56 +00:00
reloc_elf32.c
reloc_elf64.c
ufsread.c Fix a bug introduced in r223938; on big-endian machines coping a 32-bit 2012-03-11 13:39:19 +00:00
util.c Fix buffer overflow in sys/boot/common/util.c's printf(), when printing 2011-08-08 20:53:04 +00:00
util.h Rename bcpy() macro to bcopy(). 2011-02-27 12:25:47 +00:00