Skip site navigation (1)Skip section navigation (2)
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-7@freebsd.org
Subject:   svn commit: r224420 - stable/7/sys/boot/pc98/boot2
Message-ID:  <201107261301.p6QD1EVl008850@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107261301.p6QD1EVl008850>