diff options
author | jhb <jhb@FreeBSD.org> | 2000-07-06 00:29:40 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-07-06 00:29:40 +0000 |
commit | 037bed528d7580efdeb220c5b119ca8ad28d935f (patch) | |
tree | 60ce51c32b1399f7c317d9030540e8ffb013fb6a | |
parent | 87c46800a0351f98c0d9a9495fc6202f59bcc805 (diff) | |
download | FreeBSD-src-037bed528d7580efdeb220c5b119ca8ad28d935f.zip FreeBSD-src-037bed528d7580efdeb220c5b119ca8ad28d935f.tar.gz |
Doh. The disklabel is not 0x200 bytes of zeros, but it is 0x200 bytes long.
-rw-r--r-- | sys/boot/i386/boot2/boot1.S | 2 | ||||
-rw-r--r-- | sys/boot/i386/boot2/boot1.s | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/boot2/boot1.S b/sys/boot/i386/boot2/boot1.S index fee2fa0..3b34041 100644 --- a/sys/boot/i386/boot2/boot1.S +++ b/sys/boot/i386/boot2/boot1.S @@ -139,7 +139,7 @@ main.4: xor %dx,%dx # Partition:drive # ahead and load up the first 16 sectors (boot1 + boot2) from that. When # we read it in, we conveniently use 0x8c00 as our transfer buffer. Thus, # boot1 ends up at 0x8c00, and boot2 starts at 0x8c00 + 0x200 = 0x8e00. -# The first part of boot2 is the disklabel, which is 0x200 bytes of zeros. +# The first part of boot2 is the disklabel, which is 0x200 bytes long. # The second part is BTX, which is thus loaded into 0x9000, which is where # it also runs from. The boot2.bin binary starts right after the end of # BTX, so we have to figure out where the start of it is and then move the diff --git a/sys/boot/i386/boot2/boot1.s b/sys/boot/i386/boot2/boot1.s index fee2fa0..3b34041 100644 --- a/sys/boot/i386/boot2/boot1.s +++ b/sys/boot/i386/boot2/boot1.s @@ -139,7 +139,7 @@ main.4: xor %dx,%dx # Partition:drive # ahead and load up the first 16 sectors (boot1 + boot2) from that. When # we read it in, we conveniently use 0x8c00 as our transfer buffer. Thus, # boot1 ends up at 0x8c00, and boot2 starts at 0x8c00 + 0x200 = 0x8e00. -# The first part of boot2 is the disklabel, which is 0x200 bytes of zeros. +# The first part of boot2 is the disklabel, which is 0x200 bytes long. # The second part is BTX, which is thus loaded into 0x9000, which is where # it also runs from. The boot2.bin binary starts right after the end of # BTX, so we have to figure out where the start of it is and then move the |