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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"