freebsd-skq/sys/boot/i386
allanjude b245978b18 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
..
boot0 Implement (ACFLAGS|CFLAGS|CXXFLAGS).SRC globally. 2016-03-26 03:46:12 +00:00
boot0sio
boot2 Implement (ACFLAGS|CFLAGS|CXXFLAGS).SRC globally. 2016-03-26 03:46:12 +00:00
btx Implement (ACFLAGS|CFLAGS|CXXFLAGS).SRC globally. 2016-03-26 03:46:12 +00:00
cdboot Implement (ACFLAGS|CFLAGS|CXXFLAGS).SRC globally. 2016-03-26 03:46:12 +00:00
common Add missing prototype for getchar(..) 2016-05-13 10:59:46 +00:00
gptboot Implement (ACFLAGS|CFLAGS|CXXFLAGS).SRC globally. 2016-03-26 03:46:12 +00:00
gptzfsboot Implement (ACFLAGS|CFLAGS|CXXFLAGS).SRC globally. 2016-03-26 03:46:12 +00:00
kgzldr
libfirewire sys/boot: spelling fixes in comments. 2016-04-30 00:26:38 +00:00
libi386 Fixup the geliboot sector rounding code 2016-05-20 01:41:47 +00:00
loader A new implementation of the loader block cache 2016-04-18 23:09:22 +00:00
mbr
pmbr
pxeldr Implement (ACFLAGS|CFLAGS|CXXFLAGS).SRC globally. 2016-03-26 03:46:12 +00:00
zfsboot Fixup the geliboot sector rounding code 2016-05-20 01:41:47 +00:00
zfsloader DIRDEPS_BUILD: Update dependencies. 2016-03-21 18:02:26 +00:00
Makefile Restore kgzldr on i386 only 2016-02-08 16:59:52 +00:00
Makefile.inc