Displaying 1 result from an estimated 1 matches for "bb5bf14".
Did you mean:
bb53714
2009 Mar 01
0
[PATCH 1/3] COMBOOT API: Improve readdir
....inc
index 2ff5f33..bab3d6a 100644
--- a/core/comboot.inc
+++ b/core/comboot.inc
@@ -1092,7 +1092,7 @@ comapi_readdir:
mov si,P_SI
call readdir
mov P_EAX,eax
- mov P_DL,dl
+ mov P_DX,dx
mov P_EBX,ebx
mov P_SI,si
ret
diff --git a/core/ldlinux.asm b/core/ldlinux.asm
index a24f396..bb5bf14 100644
--- a/core/ldlinux.asm
+++ b/core/ldlinux.asm
@@ -1377,6 +1377,40 @@ searchdir:
ret
;
+; fatattr_to_st_mode: Translate a FAT attribute to struct stat st_mode.
+;
+; DL FAT Attribute
+;
+; Returns st_mode
+; DX st_mode
+;
+
+fatattr_to_st_mode:
+ push eax
+ test dl,0xC8 ; 0x80 Unknown...