From c89cafc9e4b08e62f6794425295a99f385d0a47b Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 11 Jul 2007 16:14:07 -0700 Subject: [PATCH] Add some comments to the MBR --- mbr/mbr.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mbr/mbr.S b/mbr/mbr.S index ecab4e9..854e39b 100644 --- a/mbr/mbr.S +++ b/mbr/mbr.S @@ -218,7 +218,7 @@ scan_partition_table: call scan_partition_table 11: /* This returned, so we need to reload the current partition table */ - movl 28(%bp), %eax + movl 28(%bp), %eax /* "Base" */ call read_partition_table /* fall through */ @@ -238,10 +238,10 @@ scan_partition_table: boot: movl 8(%si), %eax addl 28(%bp), %eax - movl %eax, 8(%si) + movl %eax, 8(%si) /* Adjust in-memory partition table entry */ pushw %si call read_sector - popw %si + popw %si /* ds:si -> partition table entry */ jc disk_error cmpw $0xaa55, (bootsec+510) jne missing_os /* Not a valid boot sector */ -- 2.7.4