Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2011 16:40:13 +0000 (UTC)
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/boot/common ufsread.c src/sys/boot/i386/boot2 boot2.c
Message-ID:  <201103101640.p2AGeUdg007548@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rdivacky    2011-03-10 16:40:13 UTC

  FreeBSD src repository

  Modified files:
    sys/boot/common      ufsread.c 
    sys/boot/i386/boot2  boot2.c 
  Log:
  SVN rev 219452 on 2011-03-10 16:40:13Z by rdivacky
  
  Some more shrinking.
  
     o    bunch of variables are turned into uint8_t
  
     o    initial setting of namep[] in lookup() is removed
          as it's only overwritten a few lines down
  
     o    kname is explicitly initialized in main() as BSS
          in boot2 is not zeroed
  
     o    the setting and reading of "fmt" in load() is removed
  
     o    buf in printf() is made static to save space
  
  Reviewed by:    jhb
  Tested by:      me and Fabian Keil <freebsd-listen fabiankeil de>
  
  Revision  Changes    Path
  1.23      +1 -3      src/sys/boot/common/ufsread.c
  1.95      +16 -18    src/sys/boot/i386/boot2/boot2.c



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