svn commit: r224420 - stable/7/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: 224420
URL: http://svn.freebsd.org/changeset/base/224420

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/7/sys/boot/pc98/boot2/boot2.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/boot/pc98/boot2/boot2.c
==============================================================================
--- stable/7/sys/boot/pc98/boot2/boot2.c	Tue Jul 26 12:58:29 2011	(r224419)
+++ stable/7/sys/boot/pc98/boot2/boot2.c	Tue Jul 26 13:01:14 2011	(r224420)
@@ -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-stable-7 mailing list