Displaying 9 results from an estimated 9 matches for "max_open".
2011 Apr 26
1
[syslinux:lwip] PXE Cleanups, allow for 128 open files
...number of open files. This is *currently* constrained by the
> - * fact that PXE needs to be able to fit all its packet buffers into a
> - * 64K segment; this should be fixed by moving the packet buffers to high
> - * memory.
> + * Maximum number of open files.
> */
> -#define MAX_OPEN_LG2 5
> +#define MAX_OPEN_LG2 7
> #define MAX_OPEN (1 << MAX_OPEN_LG2)
>
> #define FILENAME_MAX_LG2 8
>
> --- a/core/fs/pxe/pxe.h
> +++ b/core/fs/pxe/pxe.h
> @@ -21,27 +21,15 @@
> #define PXE_H
>
> #include <syslinux/pxe_api.h>
> -#include &...
2008 Nov 10
2
[PATCH 1/1] COMBOOT API: Add get current working directory call to most
...----------------------------------------------------
; Common modules
; -----------------------------------------------------------------------------
diff --git a/core/isolinux.asm b/core/isolinux.asm
index 3b97005..fbd1ba0 100644
--- a/core/isolinux.asm
+++ b/core/isolinux.asm
@@ -36,6 +36,8 @@ MAX_OPEN equ (1 << MAX_OPEN_LG2)
SECTOR_SHIFT equ 11 ; 2048 bytes/sector (El Torito requirement)
SECTOR_SIZE equ (1 << SECTOR_SHIFT)
+ROOT_DIR_WORD equ 0x002F
+
;
; This is what we need to do when idle
;
@@ -1147,15 +1149,30 @@ get_fs_structures:
; Look for an isolinux directory, and...
2016 Feb 01
2
[PATCH 2/2] core: Fix stack overflow when reloading config
On 01/26/16 07:36, Celelibi via Syslinux wrote:
>
> From what I've seen, I think there are memory leaks a bit everywhere.
> And it's practically unavoidable since modules are always forcefully
> unloaded instead of letting them gracefully terminate.
>
> Then, as I already mentioned somewhere else, I think we would need a
> global resource tracker so that when a
2009 Feb 08
1
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
...----------------------------------------------------
; Common modules
; -----------------------------------------------------------------------------
diff --git a/core/isolinux.asm b/core/isolinux.asm
index 3b97005..2c6d970 100644
--- a/core/isolinux.asm
+++ b/core/isolinux.asm
@@ -36,6 +36,8 @@ MAX_OPEN equ (1 << MAX_OPEN_LG2)
SECTOR_SHIFT equ 11 ; 2048 bytes/sector (El Torito requirement)
SECTOR_SIZE equ (1 << SECTOR_SHIFT)
+ROOT_DIR_WORD equ 0x002F
+
;
; This is what we need to do when idle
;
@@ -1147,15 +1149,33 @@ get_fs_structures:
; Look for an isolinux directory, and...
2008 Dec 04
2
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
...----------------------------------------------------
; Common modules
; -----------------------------------------------------------------------------
diff --git a/core/isolinux.asm b/core/isolinux.asm
index 3b97005..2c6d970 100644
--- a/core/isolinux.asm
+++ b/core/isolinux.asm
@@ -36,6 +36,8 @@ MAX_OPEN equ (1 << MAX_OPEN_LG2)
SECTOR_SHIFT equ 11 ; 2048 bytes/sector (El Torito requirement)
SECTOR_SIZE equ (1 << SECTOR_SHIFT)
+ROOT_DIR_WORD equ 0x002F
+
;
; This is what we need to do when idle
;
@@ -1147,15 +1149,33 @@ get_fs_structures:
; Look for an isolinux directory, and...
2013 Oct 18
1
[RFC/PATCH 2/3] core: MultiFS infrastructure added.
..._fs = NULL;
+/* this_fs means the file system being currently used. */
+__export struct fs_info *this_fs = NULL;
+/* export p_ops to be used outside the core */
+__export const struct fs_ops **p_ops = NULL;
/* Actual file structures (we don't have malloc yet...) */
__export struct file files[MAX_OPEN];
@@ -344,6 +349,9 @@ __export int open_file(const char *name, int flags, struct com32_filedata *filed
dprintf("open_file %s\n", name);
+ if (switch_fs(&name))
+ return -1;
+
mangle_name(mangled_name, name);
rv = searchdir(mangled_name, flags);
@@ -361,6 +369,9 @@...
2009 Jul 27
1
[PATCH] mboot using module path
...equ (1 << DIRNAME_MAX_LG2)
FILENAME_MAX_LG2 equ 7 ; log2(Max filename size Including
final null)
FILENAME_MAX equ (1 << FILENAME_MAX_LG2)
NULLFILE equ 0 ; Zero byte == null file name
@@ -164,9 +166,10 @@
alignb open_file_t_size
Files resb MAX_OPEN*open_file_t_size
+ alignb DIRNAME_MAX
alignb FILENAME_MAX
-BootFile resb 256 ; Boot file from DHCP packet
-PathPrefix resb 256 ; Path prefix derived from boot file
+PathPrefix resb DIRNAME_MAX ; Path prefix derived from boot file
+BootFile resb FILE...
2012 Aug 20
13
[PATCH 00/12] Multidisk support
Hello,
the following patches should get multidisk access working.
The syntax accepted is the following:
(hdx,y)/path/to/file
where x is the disk number and start at 0 and the y is the partition number starting at 1. So (hd0,1) is the first partition of the first disk.
the other accepted syntax is using MBR's 32 bits disk signature so for example:
(mbr:0x12345678,2)/foo/bar
would address
2015 Jul 22
13
[PULL 0/8] MultiFS suppport for BIOS and EFI
So last week I was wondering if XFS was still working -- even with its
last on-disk structure changes -- and it _suprisingly_ worked as
expected. Right, now I can finally get rid of GRUB and use Syslinux to
boot my Linux on EFI from a rootfs with xfs. Shit, I have two
partitions (the first one being the required ESP) so there is no way to
access the other partitions since because Syslinux does not