Rev 509 | Rev 593 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 509 | Rev 521 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | $Revision: 509 $ |
1 | $Revision: 521 $ |
2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
3 | ;; ;; |
3 | ;; ;; |
4 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
4 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
6 | ;; ;; |
6 | ;; ;; |
Line 936... | Line 936... | ||
936 | .end: |
936 | .end: |
937 | pop edi ecx eax |
937 | pop edi ecx eax |
938 | ret |
938 | ret |
Line 939... | Line 939... | ||
939 | 939 | ||
940 | ntfs_find_lfn: |
940 | ntfs_find_lfn: |
941 | ; in: esi->name |
941 | ; in: esi+ebp -> name |
942 | ; out: CF=1 - file not found |
942 | ; out: CF=1 - file not found |
943 | ; else CF=0, [ntfs_cur_iRecord] valid, eax->record in parent directory |
943 | ; else CF=0, [ntfs_cur_iRecord] valid, eax->record in parent directory |
944 | mov [ntfs_cur_iRecord], 5 ; start parse from root cluster |
944 | mov [ntfs_cur_iRecord], 5 ; start parse from root cluster |
945 | .doit2: |
945 | .doit2: |
Line 1088... | Line 1088... | ||
1088 | mov [esp+4], edi |
1088 | mov [esp+4], edi |
1089 | popad |
1089 | popad |
1090 | inc esi |
1090 | inc esi |
1091 | cmp byte [esi-1], 0 |
1091 | cmp byte [esi-1], 0 |
1092 | jnz .doit2 |
1092 | jnz .doit2 |
- | 1093 | test ebp, ebp |
|
- | 1094 | jz @f |
|
- | 1095 | mov esi, ebp |
|
- | 1096 | xor ebp, ebp |
|
- | 1097 | jmp .doit2 |
|
- | 1098 | @@: |
|
1093 | ret |
1099 | ret |
Line 1094... | Line 1100... | ||
1094 | 1100 | ||
1095 | ;---------------------------------------------------------------- |
1101 | ;---------------------------------------------------------------- |
1096 | ; |
1102 | ; |