From owner-svn-src-head@FreeBSD.ORG Wed Nov 26 21:38:43 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A1E2106564A; Wed, 26 Nov 2008 21:38:43 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6147E8FC19; Wed, 26 Nov 2008 21:38:43 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mAQLchCZ066992; Wed, 26 Nov 2008 21:38:43 GMT (envelope-from luigi@svn.freebsd.org) Received: (from luigi@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mAQLchKI066991; Wed, 26 Nov 2008 21:38:43 GMT (envelope-from luigi@svn.freebsd.org) Message-Id: <200811262138.mAQLchKI066991@svn.freebsd.org> From: Luigi Rizzo Date: Wed, 26 Nov 2008 21:38:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r185346 - head/sys/boot/i386/boot0 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2008 21:38:43 -0000 Author: luigi Date: Wed Nov 26 21:38:43 2008 New Revision: 185346 URL: http://svn.freebsd.org/changeset/base/185346 Log: Fix a typo in previous commit: must call "putn" to print a crlf, instead of "puts" which prints whatever is at %si, followed by a CRLF. It was not noticed during tests because at that point %si points to a partition entry whose first byte is 0x80, which is both a terminator for the string and a non printable character. Submitted by: Christoph Mallon Modified: head/sys/boot/i386/boot0/boot0.S Modified: head/sys/boot/i386/boot0/boot0.S ============================================================================== --- head/sys/boot/i386/boot0/boot0.S Wed Nov 26 21:05:03 2008 (r185345) +++ head/sys/boot/i386/boot0/boot0.S Wed Nov 26 21:38:43 2008 (r185346) @@ -320,7 +320,7 @@ main.15: movw $LOAD,%bx # Address for cmpw $MAGIC,0x1fe(%bx) # Bootable? jne main.10 # No pushw %si # Save ptr to selected part. - callw puts # Leave some space + callw putn # Leave some space popw %si # Restore, next stage uses it jmp *%bx # Invoke bootstrap