summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/mbr
diff options
context:
space:
mode:
authorTobias Weingartner <weingart@cvs.openbsd.org>1997-08-08 16:50:20 +0000
committerTobias Weingartner <weingart@cvs.openbsd.org>1997-08-08 16:50:20 +0000
commit923c62c82fc0b34c563598e6d6af4da99e172829 (patch)
tree9c5fd8a0a3d14d17924166295ef2d973ff8d385d /sys/arch/i386/stand/mbr
parent0b29099d719cd120e455bf0e14dcc780847fb7d1 (diff)
More pedantic
Diffstat (limited to 'sys/arch/i386/stand/mbr')
-rw-r--r--sys/arch/i386/stand/mbr/mbr.S12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/i386/stand/mbr/mbr.S b/sys/arch/i386/stand/mbr/mbr.S
index 70a3e8f2548..5a4974b6af3 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.4 1997/08/08 16:42:13 weingart Exp $ */
+/* $OpenBSD: mbr.S,v 1.5 1997/08/08 16:50:19 weingart Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff and Tobias Weingartner
@@ -69,9 +69,9 @@ start:
movl $BOOTRELOC, %eax
movl %ax, %es
data32
- xorl %si, %si
+ xorl %esi, %esi
data32
- xorl %di, %di
+ xorl %edi, %edi
data32
movl $0x200, %ecx
cld
@@ -180,7 +180,7 @@ sigok:
data32
movl $pt, %esi
data32
- movl $NUMPART, %cx
+ movl $NUMPART, %ecx
1:
DBGMSG(CHAR_L)
# movb (%si), %al
@@ -217,7 +217,6 @@ found:
call message
movl %dx, %ax
- xor $0x03, %ax
andl $0x0F, %ax
orl $0x30, %ax
data32
@@ -229,6 +228,7 @@ found:
call message
popl %eax
+ xor $0x03, %ax
andl $0x0F, %ax
orl $0x30, %ax
data32
@@ -269,7 +269,7 @@ found:
int $0x13
jnc 1f
data32
- movl $eread, %si
+ movl $eread, %esi
data32
call message
jmp err_stop