boot - Multiple changes to try to make cdboot work with more bioses
commitf70f1d6b9857f66df6200d7a857480b31c48b56e
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 29 Oct 2010 04:33:15 +0000 (28 21:33 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 29 Oct 2010 04:33:15 +0000 (28 21:33 -0700)
tree3431631d2d343341b1e84b951a1889a317a5161a
parentcf3fb6270dabc557846d79f13bb0f5170347327f
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.
sys/boot/pc32/cdboot/cdboot.S