Displaying 5 results from an estimated 5 matches for "max_open_lg2".
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 if found,
; make it the cu...
2008 Nov 27
1
RFC: COMBOOT API directory calls
...ithin dir_sector
dir_sector_start resd 1 ; Starting sector number (for rewinddir()
resd 1 ; Unused; for alignment/future use
endstruc
If I create a new array Dirs, I would think that it should be sized by
another constant MAX_OPEN_DIR, defined by MAX_OPEN_DIR_LG2, which
should be less than MAX_OPEN_LG2. I'm thinking around 4 (=16
directories; =256 Bytes) for now.
I have a feeling that what I'm embarking on may cause issues with
non-ASCII character sets (on the console or in the filesystem) down
the road, especially when the two are different, but I'm looking at
that as something to...
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 if found,
; make it the cu...
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 if found,
; make it the cu...