diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-06-07 16:16:30 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-06-07 16:16:30 -0700 |
commit | c3ff1927d97099b8e30377a0ee063e716416a751 (patch) | |
tree | 38513ecdcbc411394cd1c83fc5590387f56cd2ac | |
parent | 7b3cf97105e680c0292f67d49baf1b8abb855b62 (diff) | |
download | syslinux-c3ff1927d97099b8e30377a0ee063e716416a751.tar.gz |
Fix the INT 18h patch offset for the RAID mode (-r) optionsyslinux-3.50-pre21
The calculation of the INT 18h patch offset for RAID mode (-r) was
incorrect. Fix it.
-rw-r--r-- | extlinux.asm | 2 | ||||
-rw-r--r-- | ldlinux.asm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extlinux.asm b/extlinux.asm index 70bd604b..545437a1 100644 --- a/extlinux.asm +++ b/extlinux.asm @@ -563,7 +563,7 @@ MaxTransfer dw 0x007F ; Max transfer size ; This field will be filled in 0xAA55 by the installer, but we abuse it ; to house a pointer to the INT 16h instruction at ; kaboom.again, which gets patched to INT 18h in RAID mode. -bootsignature dw kaboom.again-$ +bootsignature dw kaboom.again-bootsec ; ; =========================================================================== diff --git a/ldlinux.asm b/ldlinux.asm index d8c8cc77..5a5216fb 100644 --- a/ldlinux.asm +++ b/ldlinux.asm @@ -570,7 +570,7 @@ MaxTransfer dw 0x007F ; Max transfer size ; This field will be filled in 0xAA55 by the installer, but we abuse it ; to house a pointer to the INT 16h instruction at ; kaboom.again, which gets patched to INT 18h in RAID mode. -bootsignature dw kaboom.again-$ +bootsignature dw kaboom.again-bootsec ; ; =========================================================================== |