aboutsummaryrefslogtreecommitdiffstats
path: root/core/isolinux.asm
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-02-21 15:42:03 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-02-21 15:42:03 -0800
commitced4ec389bd2d915f3e00e41736737279fba89ec (patch)
treec8d297c43ade26a3d60ca4bb16d6b0abd0f5d974 /core/isolinux.asm
parent8f652f110068ed20dd84bdc46233d803bc4150be (diff)
downloadsyslinux-ced4ec389bd2d915f3e00e41736737279fba89ec.tar.gz
core: let xfer_buf_seg, real_mode_seg be assigned by the linker
Use the linker to assign xfer_bug_seg and real_mode_seg. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/isolinux.asm')
-rw-r--r--core/isolinux.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/isolinux.asm b/core/isolinux.asm
index d6be7502..4a029c4e 100644
--- a/core/isolinux.asm
+++ b/core/isolinux.asm
@@ -414,7 +414,7 @@ found_file:
; address (7C00h) is *not* 2K-sector-aligned, the safest
; way to deal with this is to load into the xfer_buf_seg
; and then copy the data in place.
-MaxLMA equ xfer_buf_seg << 4
+MaxLMA equ core_xfer_buf
mov bx,(7C00h+SECTOR_SIZE) >> 4
mov bp,[ImageSectors]