freebsd-dev/sys/boot/common
Marius Strobl fd70297a1d Since r219452 the alignment of __dmadat has changed, revealing that fsread()
bogusly casts its contents around causing alignment faults on sparc64 and
most likely also on at least powerpc. Fix this by copying the contents
bytewise instead as partly already done here. Solving this the right way
costs some space, i.e. 148 bytes with GCC and 16 bytes with clang on x86
there are still some bytes left there though, and an acceptable hack which
tricks the compiler into only using a 2-byte alignment instead of the native
one when accessing the contents turned out to even take up more space that.
2011-07-11 20:43:59 +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 Fix r223695 to compile on architectures which don't use the MBR scheme; wrap 2011-07-01 18:31:59 +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_backslash.c
interp_forth.c
interp_parse.c
interp.c a whitespace nit 2011-05-07 13:57:30 +00:00
isapnp.c
isapnp.h
load_elf32_obj.c
load_elf32.c
load_elf64_obj.c
load_elf64.c
load_elf_obj.c Minimize backward seeks when trying to load ELF relocatable modules. 2011-06-19 13:35:41 +00:00
load_elf.c Add a version of the FreeBSD bootloader which can run in userland, packaged 2011-06-30 16:08:56 +00:00
loader.8 Disconnect sun4v architecture from the three. 2011-05-14 01:53:38 +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 Garbage collect the code for auto-loading modules based on ISAPNP IDs, 2007-01-07 22:25:45 +00:00
reloc_elf32.c
reloc_elf64.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
ufsread.c Since r219452 the alignment of __dmadat has changed, revealing that fsread() 2011-07-11 20:43:59 +00:00
util.c - Split code shared by almost any boot loader into separate files and 2010-09-24 19:49:12 +00:00
util.h Rename bcpy() macro to bcopy(). 2011-02-27 12:25:47 +00:00