From 68aadbb9c9064837291b715fb7ad922dc93ace67 Mon Sep 17 00:00:00 2001 From: Robert Nordier Date: Sat, 19 Jun 1999 20:40:32 +0000 Subject: [PATCH] Correct and clarify some comments. --- sys/boot/i386/mbr/mbr.s | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sys/boot/i386/mbr/mbr.s b/sys/boot/i386/mbr/mbr.s index 9bdb5d53a4e3..f849fb2a0ab1 100644 --- a/sys/boot/i386/mbr/mbr.s +++ b/sys/boot/i386/mbr/mbr.s @@ -13,7 +13,7 @@ # purpose. # -# $Id: $ +# $Id: mbr.s,v 1.1.1.1 1999/05/24 22:36:24 rnordier Exp $ # Master boot record @@ -36,20 +36,20 @@ start: cld # String ops inc sti # Enable interrupts movwir(main-EXEC+LOAD,_si) # Source movwir(main,_di) # Destination - movwir(0x200-(main-start),_cx) # Word count + movwir(0x200-(main-start),_cx) # Byte count rep # Relocate movsb # code jmpnwi(main-LOAD+EXEC) # To relocated code -main: xorl %esi,%esi # No active found +main: xorl %esi,%esi # No active partition movwir(partbl,_bx) # Partition table - movb $0x4,%cl # Entries + movb $0x4,%cl # Number of entries main.1: cmpbr0(_ch,_bx_) # Null entry? je main.2 # Yes - jg err_pt # If bit 7 unset - testl %esi,%esi # Active found? + jg err_pt # If 0x1..0x7f + testl %esi,%esi # Active already found? jnz err_pt # Yes - movl %ebx,%esi # Keep place + movl %ebx,%esi # Point to active main.2: addb $0x10,%bl # Till loop main.1 # done testl %esi,%esi # Active found?