git: boot - Multiple changes to try to make cdboot work with more bioses

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Oct 28 21:40:19 PDT 2010


commit f70f1d6b9857f66df6200d7a857480b31c48b56e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Oct 28 21:33:15 2010 -0700

    boot - Multiple changes to try to make cdboot work with more bioses
    
    * Go back to single sector read.  This seems to help gigabyte bioses
      (phenom x 6).  Multi-sector reads tend to cause reads to fail with
      a timeout for reasons unknown.
    
    * Enable interrupts on start.
    
    * (non operator) replace jcxz.  It's a bit unclear whether this is an
      issue or not but some assemblers do not generate the correct prefix
      for jcxz.
    
    * Report read timeouts and delay 1 second before retrying.  At the
      very least this allows timeouts to be reported distinctly.

Summary of changes:
 sys/boot/pc32/cdboot/cdboot.S |   54 +++++++++++++++++++++++++++++++----------
 1 files changed, 41 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f70f1d6b9857f66df6200d7a857480b31c48b56e


-- 
DragonFly BSD source repository





More information about the Commits mailing list