git: sys/boot/common: Make ufsread.c build and work with efi boot1 from FreeBSD.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sun Apr 17 05:29:19 PDT 2016


commit 4982ad167b2226c17bc6d5d52fa722e6da900eb2
Author: Imre Vadász <imre at vdsz.com>
Date:   Sun Feb 28 00:49:34 2016 +0100

    sys/boot/common: Make ufsread.c build and work with efi boot1 from FreeBSD.
    
    * Bring ufsread.c a bit closer to the FreeBSD code (mostly by adding
      fs_read_size(), which is needed for the efi boot1.
    
    * So far ufsread.c was only used in sys/boot/pc32/boot2, where it was
      built with -DBOOT2 in CFLAGS. Nothing should change there, since all
      changes in this commit are either #ifndef BOOT2, or obviously shouldn't
      make a difference for the pc32/boot2 (like adding the
      boot2_ufs_read_size() function).
    
    Partly-Taken-From: FreeBSD

Summary of changes:
 sys/boot/common/ufsread.c | 51 +++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 47 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4982ad167b2226c17bc6d5d52fa722e6da900eb2


-- 
DragonFly BSD source repository


More information about the Commits mailing list