From owner-cvs-src-old@FreeBSD.ORG Wed Nov 26 18:01:29 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C5911065678 for ; Wed, 26 Nov 2008 18:01:28 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A284A8FC08 for ; Wed, 26 Nov 2008 18:01:28 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mAQI1Sxr067697 for ; Wed, 26 Nov 2008 18:01:28 GMT (envelope-from luigi@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mAQI1SwM067696 for cvs-src-old@freebsd.org; Wed, 26 Nov 2008 18:01:28 GMT (envelope-from luigi@repoman.freebsd.org) Message-Id: <200811261801.mAQI1SwM067696@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to luigi@repoman.freebsd.org using -f From: Luigi Rizzo Date: Wed, 26 Nov 2008 18:01:21 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/boot/i386/boot0 boot0.S X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2008 18:01:29 -0000 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