Date: Tue, 26 Jul 2011 13:01:14 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r224421 - stable/8/sys/boot/pc98/boot2 Message-ID: <201107261301.p6QD1EJ1008865@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107261301.p6QD1EJ1008865>