freebsd-dev/stand
Warner Losh c5e433b99e stand: Avoid unaligned access in smbios code
This code was written on x86 where unaligned accesses were
easy. LinuxBoot running on aarch64 uses mmap of /dev/mem to read the
smbios table. Linux's mapping of this memory doesn't allow the normal
unaligned fixup, so we get a bus error instead. We can't use the more
natural le16dec and friends because they optimize into a single,
unaligned memory load. We don't see this issue on aarch64 UEFI because
memory is mapped such that unaligned accesses are fixed up.

Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D39793
2023-05-01 15:12:34 -06:00
..
arm64 stand: Remove extra efi.h include 2022-07-15 12:00:49 -06:00
common stand: Fix warning about variable unused 2023-05-01 15:02:54 -06:00
defaults Add support for getting early entropy from UEFI 2022-02-17 13:01:11 -08:00
efi stand/efi: Simplify code here 2023-05-01 15:02:53 -06:00
fdt Remove "All Rights Reserved" from Foundation copyrights 2022-06-30 10:49:09 -04:00
ficl Revert "stand: Grammar fix for a source code comment" 2022-09-05 15:40:55 +02:00
ficl32 Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
fonts loader: really use bold font for vga text mode 2021-01-08 01:24:30 +02:00
forth loader.4th(8): Fix a typo in the manual page 2022-04-02 15:11:59 +02:00
i386 pxeboot: bugs in pxe.h 2023-04-26 16:33:28 +03:00
images loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
kboot kboot: Add smbios support 2023-05-01 15:12:29 -06:00
kshim stand/usb: Fix build by declaring missing functions and types. 2022-03-17 15:26:24 +01:00
liblua loader: Change version calculation to be more consistent. 2023-04-19 13:58:53 -04:00
liblua32
libofw stand/ofw: dev can't be NULL here 2023-01-13 14:22:38 -07:00
libsa stand: Avoid unaligned access in smbios code 2023-05-01 15:12:34 -06:00
libsa32 Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
lua loader: lua: disable autoboot timer after password entry 2023-04-15 21:39:56 -05:00
man loader.efi(8): document slop control, amd64 nocopy, and amd64 fault commands 2022-09-06 18:55:45 +03:00
powerpc loader: always install help files 2023-02-03 16:35:06 -04:00
uboot loader: always install help files 2023-02-03 16:35:06 -04:00
usb stand: For all disk drivers, connect dv_parsedev to disk_parsedev 2022-11-30 15:30:32 -07:00
userboot stand/userboot: Simplify code 2023-05-01 15:02:53 -06:00
defs.mk stand: remove mips support 2021-12-10 11:05:31 -07:00
fdt.mk
ficl.mk stand: remove mips support 2021-12-10 11:05:31 -07:00
loader.mk loader: always install help files 2023-02-03 16:35:06 -04:00
lua.mk lua: Update to 5.4.4 2023-02-08 10:33:26 -07:00
Makefile stand: Add a helper 'universe' target 2022-07-30 05:01:47 -06:00
Makefile.amd64 stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
Makefile.inc stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
veriexec.mk EFI secure boot VECTX related changes 2021-04-30 12:53:45 -05:00