opnsense-src/sys/boot/i386/libi386
Allan Jude 02fd555670 Fixup the geliboot sector rounding code
Replace all rounding with the round{up,down}2 macros
a missing set of braces caused the previous code to be incorrect

replace alloca() with malloc() because alloca() can return an allocation
that is actually invalid, causing boot to fail

Reviewed by:	emaste, ed
Thanks To:	peter
Sponsored by:	ScaleEngine Inc.
Differential Revision:	https://reviews.freebsd.org/D6213
2016-05-20 01:41:47 +00:00
..
amd64_tramp.S sys/boot: spelling fixes in comments. 2016-04-30 00:26:38 +00:00
biosacpi.c Deprecate using hints.acpi.0.rsdp to communicate the RSDP to the 2016-04-14 04:59:51 +00:00
bioscd.c Fix several instances where the boot loader ignored pager_output 2016-05-18 05:59:05 +00:00
biosdisk.c Fixup the geliboot sector rounding code 2016-05-20 01:41:47 +00:00
biosmem.c A new implementation of the loader block cache 2016-04-18 23:09:22 +00:00
biospci.c Add support for calling pcibios routines from the 2014-09-10 21:07:00 +00:00
biospnp.c
biossmap.c
bootinfo.c howto_names: unify declaration 2014-03-11 10:13:06 +00:00
bootinfo32.c
bootinfo64.c loader: fix the size of MODINFOMD_MODULEP 2015-01-20 12:28:24 +00:00
comconsole.c Add support for serial and null console to UEFI boot loader. 2014-09-12 17:32:28 +00:00
devicename.c
elf32_freebsd.c
elf64_freebsd.c loader: implement multiboot support for Xen Dom0 2015-01-15 16:27:20 +00:00
i386_copy.c
i386_module.c
libi386.h pxeboot: make the tftp loader use the option root-path directive 2015-12-16 17:13:09 +00:00
Makefile Implement (ACFLAGS|CFLAGS|CXXFLAGS).SRC globally. 2016-03-26 03:46:12 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2016-03-21 18:02:26 +00:00
multiboot.c multiboot: fix error codes 2015-04-01 10:10:20 +00:00
multiboot.h loader: implement multiboot support for Xen Dom0 2015-01-15 16:27:20 +00:00
multiboot_tramp.S loader: implement multiboot support for Xen Dom0 2015-01-15 16:27:20 +00:00
nullconsole.c
pread.c
pxe.c A new implementation of the loader block cache 2016-04-18 23:09:22 +00:00
pxe.h sys/boot: spelling fixes in comments. 2016-04-30 00:26:38 +00:00
pxetramp.s
smbios.c Enable warnings in EFI boot code 2016-01-12 02:17:39 +00:00
smbios.h SMBIOS support for EFI. 2015-04-06 06:55:47 +00:00
spinconsole.c Make this compile when TERM_EMU is not defined. 2014-12-22 19:10:11 +00:00
time.c
vidconsole.c