Displaying 4 results from an estimated 4 matches for "build_curdir_str".
2008 Nov 10
2
[PATCH 1/1] COMBOOT API: Add get current working directory call to most
...FILENAME_MAX)
+ROOT_DIR_WORD equ 0x002F
+
;
; This is what we need to do when idle
;
@@ -843,6 +845,8 @@ load_config:
mov si,config_name ; Save config file name
mov di,ConfigName
call strcpy
+ mov word[CurrentDirName], ROOT_DIR_WORD ; Write '/',0 to the CurrentDirName
+ call build_curdir_str
mov di,ConfigName
call open
@@ -1515,6 +1519,9 @@ getfssec:
pop ebp
ret
+build_curdir_str:
+ ret
+
; -----------------------------------------------------------------------------
; Common modules
; -----------------------------------------------------------------------------
diff...
2008 Nov 10
1
[PATCH 1/1] COMBOOT API: Add get current working directory call to most (revised)
...@ -845,7 +846,7 @@ load_config:
mov si,config_name ; Save config file name
mov di,ConfigName
call strcpy
- mov word[CurrentDirName], ROOT_DIR_WORD ; Write '/',0 to the CurrentDirName
+ mov dword[CurrentDirName], CUR_DIR_DWORD ; Write './',0,0 to the
CurrentDirName
call build_curdir_str
mov di,ConfigName
diff --git a/core/isolinux.asm b/core/isolinux.asm
index fbd1ba0..2c71ea1 100644
--- a/core/isolinux.asm
+++ b/core/isolinux.asm
@@ -1170,6 +1170,9 @@ get_fs_structures:
mov si,di
mov di,CurrentDirName
call strcpy
+ mov byte[di],0 ;done in case it's not word alig...
2009 Feb 08
1
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
...0x002F
+CUR_DIR_DWORD equ 0x00002F2E
+
;
; This is what we need to do when idle
;
@@ -843,6 +846,8 @@ load_config:
mov si,config_name ; Save config file name
mov di,ConfigName
call strcpy
+ mov dword [CurrentDirName],CUR_DIR_DWORD ; Write './',0,0 to the
CurrentDirName
+ call build_curdir_str
mov di,ConfigName
call open
@@ -1515,6 +1520,9 @@ getfssec:
pop ebp
ret
+build_curdir_str:
+ ret
+
; -----------------------------------------------------------------------------
; Common modules
; -----------------------------------------------------------------------------
diff...
2008 Dec 04
2
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
...0x002F
+CUR_DIR_DWORD equ 0x00002F2E
+
;
; This is what we need to do when idle
;
@@ -843,6 +846,8 @@ load_config:
mov si,config_name ; Save config file name
mov di,ConfigName
call strcpy
+ mov dword [CurrentDirName],CUR_DIR_DWORD ; Write './',0,0 to the
CurrentDirName
+ call build_curdir_str
mov di,ConfigName
call open
@@ -1515,6 +1520,9 @@ getfssec:
pop ebp
ret
+build_curdir_str:
+ ret
+
; -----------------------------------------------------------------------------
; Common modules
; -----------------------------------------------------------------------------
diff...