svn commit: r224421 - stable/8/sys/boot/pc98/boot2
Marius Strobl
marius at FreeBSD.org
Tue Jul 26 13:01:14 UTC 2011
Author: marius
Date: Tue Jul 26 13:01:14 2011
New Revision: 224421
URL: http://svn.freebsd.org/changeset/base/224421
Log:
MFC: r218737, r218946
MFi386: revision 218713
Apply a few small optimizations to boot2's code, to make it shrink a
little further.
Modified:
stable/8/sys/boot/pc98/boot2/boot2.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/geom/label/ (props changed)
Modified: stable/8/sys/boot/pc98/boot2/boot2.c
==============================================================================
--- stable/8/sys/boot/pc98/boot2/boot2.c Tue Jul 26 13:01:14 2011 (r224420)
+++ stable/8/sys/boot/pc98/boot2/boot2.c Tue Jul 26 13:01:14 2011 (r224421)
@@ -360,7 +360,7 @@ main(void)
#ifdef GET_BIOSGEOM
int i;
#endif
- int autoboot;
+ uint8_t autoboot;
ino_t ino;
dmadat = (void *)(roundup2(__base + (int32_t)&_end, 0x10000) - __base);
@@ -457,7 +457,8 @@ load(void)
caddr_t p;
ino_t ino;
uint32_t addr, x;
- int fmt, i, j;
+ int i, j;
+ uint8_t fmt;
if (!(ino = lookup(kname))) {
if (!ls)
More information about the svn-src-all
mailing list