From c3ff1927d97099b8e30377a0ee063e716416a751 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 7 Jun 2007 16:16:30 -0700 Subject: [PATCH] Fix the INT 18h patch offset for the RAID mode (-r) option The calculation of the INT 18h patch offset for RAID mode (-r) was incorrect. Fix it. --- extlinux.asm | 2 +- ldlinux.asm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extlinux.asm b/extlinux.asm index 70bd604..545437a 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 d8c8cc7..5a5216f 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 ; ; =========================================================================== -- 2.7.4