search for: fbd1ba0

Displaying 2 results from an estimated 2 matches for "fbd1ba0".

2008 Nov 10
1
[PATCH 1/1] COMBOOT API: Add get current working directory call to most (revised)
...me 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 aligned + dec di + mov byte[di],'/' pop di pop si diff --git a/core/ldlinu...
2008 Nov 10
2
[PATCH 1/1] COMBOOT API: Add get current working directory call to most
...ssec: pop ebp ret +build_curdir_str: + ret + ; ----------------------------------------------------------------------------- ; Common modules ; ----------------------------------------------------------------------------- diff --git a/core/isolinux.asm b/core/isolinux.asm index 3b97005..fbd1ba0 100644 --- a/core/isolinux.asm +++ b/core/isolinux.asm @@ -36,6 +36,8 @@ MAX_OPEN equ (1 << MAX_OPEN_LG2) SECTOR_SHIFT equ 11 ; 2048 bytes/sector (El Torito requirement) SECTOR_SIZE equ (1 << SECTOR_SHIFT) +ROOT_DIR_WORD equ 0x002F + ; ; This is what we need to do when idle ; @@...