Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 2008 18:01:21 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/boot/i386/boot0 boot0.S
Message-ID:  <200811261801.mAQI1SwM067696@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
luigi       2008-11-26 18:01:21 UTC

  FreeBSD src repository

  Modified files:
    sys/boot/i386/boot0  boot0.S 
  Log:
  SVN rev 185339 on 2008-11-26 18:01:21Z by luigi
  
  Pass the pointer to the selected partition in %si to the next stage
  boot code. The bug was introduced in rev.1.13, and went unnoticed
  because FreeBSD's boot1 does not use it, but other systems might.
  
  (I have been struggling for almost a full day trying to figure out
  why a syslinux'ed partition would not boot when started with the
  FreeBSD /boot/boot0, only to realize that the bug was ours!)
  
  The space for the two extra bytes (push %si and pop %si) is reclaimed
  by removing an extra CRLF that is printed before booting.
  
  The bug is not a major one but if there is time it might be a good
  thing to merge it into the upcoming releases.
  
  Revision  Changes    Path
  1.17      +3 -2      src/sys/boot/i386/boot0/boot0.S



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811261801.mAQI1SwM067696>