aboutsummaryrefslogtreecommitdiffstats
path: root/core/isolinux.asm
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-08-11 17:25:43 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-08-11 17:25:43 -0700
commitf2fa4525e58ba414220c9f62587b7e7aff35347f (patch)
treee883014005982230b602b6cb9f948765fd5d7515 /core/isolinux.asm
parent0202356bab69a17bf9620432da4339348c0833b7 (diff)
downloadsyslinux-f2fa4525e58ba414220c9f62587b7e7aff35347f.tar.gz
core: VFS cleanups: add a persistent generic struct file
Major cleanups to the VFS layer: - add a persistent generic "struct file" - pass "struct file *" to getfssec - add a close_file method - use VFS-assigned indicies instead of pointers as file handles. This allows the file structures to be allocated from high memory. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/isolinux.asm')
-rw-r--r--core/isolinux.asm2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/isolinux.asm b/core/isolinux.asm
index 91541bc6..2816dd8f 100644
--- a/core/isolinux.asm
+++ b/core/isolinux.asm
@@ -32,8 +32,6 @@ NULLFILE equ 0 ; Zero byte == null file name
NULLOFFSET equ 0 ; Position in which to look
retry_count equ 6 ; How patient are we with the BIOS?
%assign HIGHMEM_SLOP 128*1024 ; Avoid this much memory near the top
-MAX_OPEN_LG2 equ 6 ; log2(Max number of open files)
-MAX_OPEN equ (1 << MAX_OPEN_LG2)
SECTOR_SHIFT equ 11 ; 2048 bytes/sector (El Torito requirement)
SECTOR_SIZE equ (1 << SECTOR_SHIFT)