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 Make sure that each va_start has one and only one matching va_end, 2012-05-29 01:48:06 +00:00
biossmap.c Consolidate duplicate definitions of V86_CY() and V86_ZR() which check for 2011-10-25 19:45:12 +00:00
bootinfo.c howto_names: unify declaration 2014-03-11 10:13:06 +00:00
bootinfo32.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
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 Quiesce some clang warnings while we're here doing stuff. 2013-01-14 15:05:22 +00:00
elf32_freebsd.c Be nice, don't use the f-word. 2009-11-25 16:36:07 +00:00
elf64_freebsd.c loader: implement multiboot support for Xen Dom0 2015-01-15 16:27:20 +00:00
i386_copy.c For the cases when loading bzip2-compressed kernels enabled use last 2005-12-21 02:17:58 +00:00
i386_module.c Remove unused includes. 2010-11-13 15:23:20 +00:00
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 Use __FBSDID(). 2003-08-25 23:28:32 +00:00
pread.c Use __FBSDID(). 2003-08-25 23:28:32 +00:00
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 Make the RTC checking for QEMU even more aggressive. 2011-12-21 16:47:01 +00:00
vidconsole.c Fix a long standing bug. The caller expects a non-zero value for success. 2012-02-29 18:11:33 +00:00