Displaying 6 results from an estimated 6 matches for "config_open".
Did you mean:
config_len
2008 Jun 17
1
ldlinux: CurrentDir not set if syslinux.cfg is missing
...it's CurrentDir unless
the filename starts with '/'. Possible fix is to set CurrentDir to RootDir if no config
file is found.
- Sebastian
--- core/ldlinux.asm.orig 2008-06-17 19:25:35.000000000 +0200
+++ core/ldlinux.asm 2008-06-17 19:36:13.000000000 +0200
@@ -909,6 +909,8 @@
jnz .config_open
mov di,syslinux_cfg3
call open
+ mov eax,[RootDir] ; Make the root directory ...
+ mov [CurrentDir],eax ; ... the current directory
jz no_config_file
.config_open:
mov eax,[PrevDir] ; Make the directory with syslinux.cfg ...
2008 Nov 03
1
[PATCH 1/1] COMBOOT: add get config file full name
...-904,15 +904,26 @@ getfattype:
mov eax,[RootDir] ; Make the root directory ...
mov [CurrentDir],eax ; ... the current directory
mov di,syslinux_cfg1
+ push di
call open
+ pop di
jnz .config_open
mov di,syslinux_cfg2
+ push di
call open
+ pop di
jnz .config_open
mov di,syslinux_cfg3
+ push di
call open
+ pop di
jz no_config_file
.config_ope...
2008 Nov 10
2
[PATCH 1/1] COMBOOT API: Add get current working directory call to most
...e name
mov di,ConfigName
call strcpy
+ mov word[CurrentDirName], ROOT_DIR_WORD ; Write '/',0 to the CurrentDirName
mov eax,[RootDir] ; Make the root directory ...
mov [CurrentDir],eax ; ... the current directory
mov di,syslinux_cfg1
+ push di
call open
+ pop di
jnz .config_open
mov di,syslinux_cfg2
+ push di
call open
+ pop di
jnz .config_open
mov di,syslinux_cfg3
+ push di
call open
+ pop di
jz no_config_file
.config_open:
+ push si
+ mov si,di
+ push si
+ mov di,CurrentDirName
+ ; This is inefficient as it will copy more than needed
+ ;...
2009 Feb 08
1
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
...e name
mov di,ConfigName
call strcpy
+ mov word [CurrentDirName],ROOT_DIR_WORD ; Write '/',0 to the CurrentDirName
mov eax,[RootDir] ; Make the root directory ...
mov [CurrentDir],eax ; ... the current directory
mov di,syslinux_cfg1
+ push di
call open
+ pop di
jnz .config_open
mov di,syslinux_cfg2
+ push di
call open
+ pop di
jnz .config_open
mov di,syslinux_cfg3
+ push di
call open
+ pop di
jz no_config_file
.config_open:
+ push si
+ mov si,di
+ push si
+ mov di,CurrentDirName
+ ; This is inefficient as it will copy more than needed
+ ;...
2008 Dec 04
2
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
...e name
mov di,ConfigName
call strcpy
+ mov word [CurrentDirName],ROOT_DIR_WORD ; Write '/',0 to the CurrentDirName
mov eax,[RootDir] ; Make the root directory ...
mov [CurrentDir],eax ; ... the current directory
mov di,syslinux_cfg1
+ push di
call open
+ pop di
jnz .config_open
mov di,syslinux_cfg2
+ push di
call open
+ pop di
jnz .config_open
mov di,syslinux_cfg3
+ push di
call open
+ pop di
jz no_config_file
.config_open:
+ push si
+ mov si,di
+ push si
+ mov di,CurrentDirName
+ ; This is inefficient as it will copy more than needed
+ ;...
2008 Jul 09
1
[RESEND][PATCH] ldlinux: CurrentDir not set if syslinux.cfg is missing
...2008-06-17 19:25:35.000000000 +0200
+++ core/ldlinux.asm 2008-06-18 12:10:45.000000000 +0200
@@ -901,6 +901,8 @@
mov di,ConfigName
call strcpy
+ mov eax,[RootDir] ; Make the root directory ...
+ mov [CurrentDir],eax ; ... the current directory
mov di,syslinux_cfg1
call open
jnz .config_open