summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/mbr/mbr.S
diff options
context:
space:
mode:
authorTobias Weingartner <weingart@cvs.openbsd.org>1997-08-08 16:42:14 +0000
committerTobias Weingartner <weingart@cvs.openbsd.org>1997-08-08 16:42:14 +0000
commit0b29099d719cd120e455bf0e14dcc780847fb7d1 (patch)
tree4c545b7cc64416bdab65e95b4145cb562f274681 /sys/arch/i386/stand/mbr/mbr.S
parent8676bf9664fa67d669370ca9d2e4c803d24280d1 (diff)
Thanks Niklas (nuke push/pop)
Diffstat (limited to 'sys/arch/i386/stand/mbr/mbr.S')
-rw-r--r--sys/arch/i386/stand/mbr/mbr.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/mbr/mbr.S b/sys/arch/i386/stand/mbr/mbr.S
index c914c3b542e..70a3e8f2548 100644
--- a/sys/arch/i386/stand/mbr/mbr.S
+++ b/sys/arch/i386/stand/mbr/mbr.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbr.S,v 1.3 1997/08/07 11:49:59 niklas Exp $ */
+/* $OpenBSD: mbr.S,v 1.4 1997/08/08 16:42:13 weingart Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff and Tobias Weingartner
@@ -206,7 +206,6 @@ err_stop:
/* Found bootable partition */
found:
DBGMSG(CHAR_B)
- pushl %eax
pushl %edx
pushl %esi
pushl %ecx
@@ -218,6 +217,7 @@ found:
call message
movl %dx, %ax
+ xor $0x03, %ax
andl $0x0F, %ax
orl $0x30, %ax
data32
@@ -242,7 +242,6 @@ found:
/* Restore %esi and %edx */
popl %esi
popl %edx
- popl %eax
/* Load values from active partition table entry */
# movb 1(%si), %dh # head