git: boot - boot loader fixes

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Apr 2 12:27:15 PDT 2014


commit 7da5c4fd138dc6e5035f5d7aff78a14b09b296e8
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Apr 2 12:22:50 2014 -0700

    boot - boot loader fixes
    
    * Clarify some issues in comments.
    
    * Don't trust the bios memory boundary, start 1K below it.
    
    * Always bounce, not just for floppies.  This should help with situations
      when loading kernels and modules beyond the 16MB mark.
    
    * Add some debugging memory commands

Summary of changes:
 sys/boot/common/commands.c        | 31 +++++++++++++++
 sys/boot/pc32/bootasm.h           | 12 ++++++
 sys/boot/pc32/btx/btx/btx.S       |  3 ++
 sys/boot/pc32/btx/btxldr/btxldr.S |  1 +
 sys/boot/pc32/libi386/biosdisk.c  | 83 +++++++++++++++++++--------------------
 sys/boot/pc32/loader/main.c       |  9 ++++-
 6 files changed, 95 insertions(+), 44 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7da5c4fd138dc6e5035f5d7aff78a14b09b296e8


-- 
DragonFly BSD source repository



More information about the Commits mailing list