Displaying 6 results from an estimated 6 matches for "syslinux_cfg3".
2008 Nov 10
2
[PATCH 1/1] COMBOOT API: Add get current working directory call to most
...',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
+ ; but not by too much
+ call strcpy
+ mov ax,syslinux_cfg3 ;Cut it down
+ pop si
+ sub ax,si
+ mov...
2008 Jun 17
1
ldlinux: CurrentDir not set if syslinux.cfg is missing
...nless
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 10
1
[PATCH 1/1] COMBOOT API: Add get current working directory call to most (revised)
...39;/'
pop di
pop si
diff --git a/core/ldlinux.asm b/core/ldlinux.asm
index 75e8fef..ac2ae6f 100644
--- a/core/ldlinux.asm
+++ b/core/ldlinux.asm
@@ -929,7 +929,7 @@ getfattype:
; This is inefficient as it will copy more than needed
; but not by too much
call strcpy
- mov ax,syslinux_cfg3 ;Cut it down
+ mov ax,config_name ;Cut it down
pop si
sub ax,si
mov di,CurrentDirName
diff --git a/core/pxelinux.asm b/core/pxelinux.asm
index 4398582..9836a1e 100644
--- a/core/pxelinux.asm
+++ b/core/pxelinux.asm
@@ -709,8 +709,6 @@ prefix: test byte [DHCPMagic], 04h ; Did we get a
pat...
2008 Nov 03
1
[PATCH 1/1] COMBOOT: add get config file full name
...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
+ mov di,ConfigNameFull
+ call strcpy
+ pop si
mov eax,[PrevDir]...
2009 Feb 08
1
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
...',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
+ ; but not by too much
+ call strcpy
+ mov ax,config_name ;Cut it down
+ pop si
+ sub ax,si
+ mov di...
2008 Dec 04
2
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
...',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
+ ; but not by too much
+ call strcpy
+ mov ax,config_name ;Cut it down
+ pop si
+ sub ax,si
+ mov di...