boot - Multiple changes to try to make cdboot work with more bioses
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 29 Oct 2010 04:33:15 +0000 (21:33 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 29 Oct 2010 04:40:17 +0000 (21:40 -0700)
commit03156add49be0a9e4ee67b546d708ceaf15e10fd
treefa7568e1ddebdab862797a38c43ac2c1ee5d2db2
parent29761b8087bf316e4cdce50c83a2150c3f72b0c0
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