aboutsummaryrefslogtreecommitdiffstats
path: root/core/isolinux.asm
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-05-14 15:22:00 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-05-14 15:22:00 -0700
commit4f2568ba84172915df94995df4ad358d2f09cc0e (patch)
treec1a52d8f616b99065d9aac4c9e219c34abcf35e5 /core/isolinux.asm
parent4c7ad2f6dfc8da45eaafd6898feb319b478dca53 (diff)
downloadsyslinux-4f2568ba84172915df94995df4ad358d2f09cc0e.tar.gz
core: fix "sector size" confusionsyslinux-4.00-pre45
Fix the case where the "sector size" used by the pm filesystem driver isn't the same thing as the SECTOR_SIZE/SECTOR_SHIFT macros used in the assembly code. This is a per-device property, and in the particular case of isolinux hybrid, they are not even currently the same (for all others, they are the same for now, but not necessarily in the future.) Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'core/isolinux.asm')
-rw-r--r--core/isolinux.asm19
1 files changed, 0 insertions, 19 deletions
diff --git a/core/isolinux.asm b/core/isolinux.asm
index d2ba81d9..80607679 100644
--- a/core/isolinux.asm
+++ b/core/isolinux.asm
@@ -1379,22 +1379,3 @@ img_table:
db 80-1 ; Max cylinder
db 36 ; Max sector
db 2-1 ; Max head
-
-;
-; Misc initialized (data) variables
-;
-
-;
-; Variables that are uninitialized in SYSLINUX but initialized here
-;
-; **** ISOLINUX:: We may have to make this flexible, based on what the
-; **** BIOS expects our "sector size" to be.
-;
- alignz 4
-BufSafe dw trackbufsize/SECTOR_SIZE ; Clusters we can load into trackbuf
-BufSafeBytes dw trackbufsize ; = how many bytes?
-%ifndef DEPEND
-%if ( trackbufsize % SECTOR_SIZE ) != 0
-%error trackbufsize must be a multiple of SECTOR_SIZE
-%endif
-%endif