summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/mbr
diff options
context:
space:
mode:
authorTobias Weingartner <weingart@cvs.openbsd.org>1997-08-08 17:13:14 +0000
committerTobias Weingartner <weingart@cvs.openbsd.org>1997-08-08 17:13:14 +0000
commit052357e89bcb7dfd16bd3407faecd075684960f6 (patch)
treeb7beb54fadb09861c7d121e3e7260b036bdb5cb5 /sys/arch/i386/stand/mbr
parent923c62c82fc0b34c563598e6d6af4da99e172829 (diff)
Temporary fix
Diffstat (limited to 'sys/arch/i386/stand/mbr')
-rw-r--r--sys/arch/i386/stand/mbr/mbr.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/i386/stand/mbr/mbr.S b/sys/arch/i386/stand/mbr/mbr.S
index 5a4974b6af3..128ceb8a7b2 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.5 1997/08/08 16:50:19 weingart Exp $ */
+/* $OpenBSD: mbr.S,v 1.6 1997/08/08 17:13:13 weingart Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff and Tobias Weingartner
@@ -206,6 +206,7 @@ err_stop:
/* Found bootable partition */
found:
DBGMSG(CHAR_B)
+#if 0
pushl %edx
pushl %esi
pushl %ecx
@@ -228,6 +229,7 @@ found:
call message
popl %eax
+ decl %ax
xor $0x03, %ax
andl $0x0F, %ax
orl $0x30, %ax
@@ -242,6 +244,7 @@ found:
/* Restore %esi and %edx */
popl %esi
popl %edx
+#endif
/* Load values from active partition table entry */
# movb 1(%si), %dh # head