Displaying 4 results from an estimated 4 matches for "filename_max_lg2".
2009 Jul 27
1
[PATCH] mboot using module path
...gain. Out of the 128 /
FILENAME_MAX chars
that can be used, 110 - 120 go to the path, that includes:
server - user - build - build type - changeset - product type -? product etc.
This includes tags that are valuable to us, and that we cannot keep on
shortening.
I have tried changing FILENAME_MAX / FILENAME_MAX_LG2 definitions to accept more
characters, but it wouldn't compile, the linker script complaining
about the 64k limit.
Another way is to use the CurrentDirName and save the precious
characters for the module
names.
thanks,
Damien
---
from: Damien Nozay
[PATCH 01/04] implement chdir as the way to...
2010 Jul 27
2
[PATCH] core: remove HAS_LOCALBOOT
...269e13e..999d3d9 100644
--- a/core/config.inc
+++ b/core/config.inc
@@ -27,11 +27,6 @@ BAUD_DIVISOR equ 115200 ; Serial port parameter
MAX_FKEYS equ 12 ; Number of F-key help files
;
-; Local boot supported
-;
-%assign HAS_LOCALBOOT 1
-
-;
; log2(Max filename size Including final null)
;
FILENAME_MAX_LG2 equ 8
diff --git a/core/keywords.inc b/core/keywords.inc
index d0f7db3..bd482f2 100644
--- a/core/keywords.inc
+++ b/core/keywords.inc
@@ -94,8 +94,6 @@ keywd_table:
%if IS_PXELINUX
keyword ipappend, pc_ipappend
%endif
-%if HAS_LOCALBOOT
keyword localboot, pc_localboot
-%endif
keywd_coun...
2002 Oct 22
0
[Fwd: SysLinux Bug]
...ts
the UNDI code segment.
You used instruction "rep stosxx" to clear SysLinux's variables
when ES is still pointing to UNDI code segment. My fix
is denoted by [KTT].
File : pxelinux.asm
* Bug#1
; Wipe the F-key area
mov al,NULLFILE
mov di,FKeyName
mov cx,10*(1 << FILENAME_MAX_LG2)
[KTT] push es
[KTT] push ds
[KTT] pop es
rep stosb
[KTT] pop es
* Bug#2
mov di,Sockets
mov cx,(MAX_SOCKETS*tftp_port_t_size)/4
xor eax,eax
[KTT] push es
[KTT] push ds
[KTT] pop es
rep stosd
[KTT] pop es
Can you submit these changes...
2011 Apr 26
1
[syslinux:lwip] PXE Cleanups, allow for 128 open files
...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 "fs.h" /* For MAX_OPEN, should go away */
> +#include "fs.h" /* Mostly for FILENAME_MAX */
FWIW...