cvs commit: src/sys/boot/i386/cdboot cdboot.s

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jul 18 09:52:14 PDT 2004


dillon      2004/07/18 09:51:38 PDT

DragonFly src repository

  Modified files:
    sys/boot/i386/cdboot cdboot.s 
  Log:
  Bring the twiddle fix in from FreeBSD5:1.11.  This rev also added a
  save/restore pair for %cx around the read, but that is not necessarily
  sufficient.  Instead of pussy-footing around, use pushal/popal to save ALL
  registers around the two BIOS calls cdboot.s makes and get rid of random
  saves and restores elsewhere in the code.
  
  The pushal/popal fix allows bochs to boot past the loader into single-user,
  though it still panics when we try to use the FP unit.
  
  Revision  Changes    Path
  1.4       +12 -15    src/sys/boot/i386/cdboot/cdboot.s


http://www.dragonflybsd.org/cvsweb/src/sys/boot/i386/cdboot/cdboot.s.diff?r1=1.3&r2=1.4&f=u





More information about the Commits mailing list