Displaying 4 results from an estimated 4 matches for "root_dir_word".
2008 Nov 10
2
[PATCH 1/1] COMBOOT API: Add get current working directory call to most
.../core/extlinux.asm b/core/extlinux.asm
index 24d0d92..c9ec166 100644
--- a/core/extlinux.asm
+++ b/core/extlinux.asm
@@ -42,6 +42,8 @@ MAX_SYMLINKS equ 64 ; Maximum number of symlinks per lookup
SYMLINK_SECTORS equ 2 ; Max number of sectors in a symlink
; (should be >= 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,Co...
2008 Nov 10
1
[PATCH 1/1] COMBOOT API: Add get current working directory call to most (revised)
...ed on current head plus the patch from yesterday.
diff --git a/core/extlinux.asm b/core/extlinux.asm
index c9ec166..972a2f6 100644
--- a/core/extlinux.asm
+++ b/core/extlinux.asm
@@ -43,6 +43,7 @@ SYMLINK_SECTORS equ 2 ; Max number of sectors in a symlink
; (should be >= FILENAME_MAX)
ROOT_DIR_WORD equ 0x002F
+CUR_DIR_DWORD equ 0x00002F2E
;
; This is what we need to do when idle
@@ -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...
2009 Feb 08
1
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
.../core/extlinux.asm b/core/extlinux.asm
index 24d0d92..c7a51e9 100644
--- a/core/extlinux.asm
+++ b/core/extlinux.asm
@@ -42,6 +42,9 @@ MAX_SYMLINKS equ 64 ; Maximum number of symlinks per lookup
SYMLINK_SECTORS equ 2 ; Max number of sectors in a symlink
; (should be >= FILENAME_MAX)
+ROOT_DIR_WORD equ 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
+ c...
2008 Dec 04
2
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
.../core/extlinux.asm b/core/extlinux.asm
index 24d0d92..c7a51e9 100644
--- a/core/extlinux.asm
+++ b/core/extlinux.asm
@@ -42,6 +42,9 @@ MAX_SYMLINKS equ 64 ; Maximum number of symlinks per lookup
SYMLINK_SECTORS equ 2 ; Max number of sectors in a symlink
; (should be >= FILENAME_MAX)
+ROOT_DIR_WORD equ 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
+ c...