diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-07-11 16:14:07 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-07-11 16:14:07 -0700 |
commit | c89cafc9e4b08e62f6794425295a99f385d0a47b (patch) | |
tree | 9edfab8e3e7f5d570ed50f6667d020edceef5289 /mbr | |
parent | 13550911fc71d953d1ca15785f7f7628f7cc69cb (diff) | |
download | syslinux-c89cafc9e4b08e62f6794425295a99f385d0a47b.tar.gz |
Add some comments to the MBR
Diffstat (limited to 'mbr')
-rw-r--r-- | mbr/mbr.S | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 */ |