aboutsummaryrefslogtreecommitdiffstats
path: root/core/isolinux.asm
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-12-22 12:22:26 -0800
committerH. Peter Anvin <hpa@zytor.com>2009-12-22 12:22:26 -0800
commita1a9592f21575c37fdb52aa340e47887e76b9494 (patch)
treeb12a290bd24bcb7184671229537fb3f9ac3a45f4 /core/isolinux.asm
parent5d7ca8daf3c5874d3918b177d33869dbe3afb55a (diff)
downloadsyslinux-a1a9592f21575c37fdb52aa340e47887e76b9494.tar.gz
isolinux: fs_init now takes a pointer to an array of filesystems
fs_init now takes a pointer to an array of filesystems, not a pointer to a single filesystem type. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/isolinux.asm')
-rw-r--r--core/isolinux.asm12
1 files changed, 10 insertions, 2 deletions
diff --git a/core/isolinux.asm b/core/isolinux.asm
index fc8adc66..f27cd7d4 100644
--- a/core/isolinux.asm
+++ b/core/isolinux.asm
@@ -1145,8 +1145,7 @@ all_read:
; we should be able to find the rest of what we need to know.
;
pushad
- extern iso_fs_ops
- mov eax,iso_fs_ops
+ mov eax,ROOT_FS_OPS
mov dl,[DriveNumber]
cmp word [BIOSType],bios_cdrom
sete dh ; 1 for cdrom, 0 for hybrid mode
@@ -1157,6 +1156,15 @@ all_read:
pm_call fs_init
popad
+ section .rodata
+ alignz 4
+ROOT_FS_OPS:
+ extern iso_fs_ops
+ dd iso_fs_ops
+ dd 0
+
+ section .text16
+
;
; Locate the configuration file
;