aboutsummaryrefslogtreecommitdiffstats
path: root/memdisk
diff options
context:
space:
mode:
authorShao Miller <shao.miller@yrdsb.edu.on.ca>2009-08-01 01:39:43 -0400
committerShao Miller <shao.miller@yrdsb.edu.on.ca>2009-08-03 22:09:37 -0400
commitcb2d6723ad809d88d7fb22f29acb08ba27370fa9 (patch)
tree6e7641e92851f95e92b70a748672e46b344eef13 /memdisk
parentec5a587d90a2484f182b27f25c09cc70a23935cc (diff)
downloadsyslinux.git-cb2d6723ad809d88d7fb22f29acb08ba27370fa9.tar.gz
syslinux.git-cb2d6723ad809d88d7fb22f29acb08ba27370fa9.tar.xz
syslinux.git-cb2d6723ad809d88d7fb22f29acb08ba27370fa9.zip
[memdisk] Move sector size choice into each individual hook
Diffstat (limited to 'memdisk')
-rw-r--r--memdisk/memdisk.inc1
-rw-r--r--memdisk/memdisk_chs_512.asm1
-rw-r--r--memdisk/memdisk_edd_512.asm1
3 files changed, 2 insertions, 1 deletions
diff --git a/memdisk/memdisk.inc b/memdisk/memdisk.inc
index 7b63c050..14f077ab 100644
--- a/memdisk/memdisk.inc
+++ b/memdisk/memdisk.inc
@@ -79,7 +79,6 @@
org 0h
-%define SECTORSIZE_LG2 9 ; log2(sector size)
%define SECTORSIZE (1 << SECTORSIZE_LG2)
; Parameter registers definition; this is the definition
diff --git a/memdisk/memdisk_chs_512.asm b/memdisk/memdisk_chs_512.asm
index 4b06a856..35acbbd8 100644
--- a/memdisk/memdisk_chs_512.asm
+++ b/memdisk/memdisk_chs_512.asm
@@ -1,2 +1,3 @@
%define EDD 0
+%define SECTORSIZE_LG2 9 ; log2(sector size)
%include "memdisk.inc"
diff --git a/memdisk/memdisk_edd_512.asm b/memdisk/memdisk_edd_512.asm
index d2e7b1cf..fbd90c15 100644
--- a/memdisk/memdisk_edd_512.asm
+++ b/memdisk/memdisk_edd_512.asm
@@ -1,2 +1,3 @@
%define EDD 1
+%define SECTORSIZE_LG2 9 ; log2(sector size)
%include "memdisk.inc"