summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2008-11-26 18:01:21 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2008-11-26 18:01:21 +0000
commit54dd5ca200ebd3bf39ed8c7cf5166580944bd9c2 (patch)
treebf2311eb9fd9e0cead6793d2ea50cda20c0e951b
parenta11e5ead6eaf453eb1e5ea1b0873739a174e72d2 (diff)
Notes
-rw-r--r--sys/boot/i386/boot0/boot0.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/boot/i386/boot0/boot0.S b/sys/boot/i386/boot0/boot0.S
index 64be3dd6e901..246372dd9fa9 100644
--- a/sys/boot/i386/boot0/boot0.S
+++ b/sys/boot/i386/boot0/boot0.S
@@ -319,8 +319,9 @@ main.15: movw $LOAD,%bx # Address for read
jc main.10 # If error
cmpw $MAGIC,0x1fe(%bx) # Bootable?
jne main.10 # No
- movw $crlf,%si # Leave some
- callw puts # space
+ pushw %si # Save ptr to selected part.
+ callw puts # Leave some space
+ popw %si # Restore, next stage uses it
jmp *%bx # Invoke bootstrap
/*