Subversion Repositories Kolibri OS

Rev

Rev 6820 | Rev 6845 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6820 Rev 6824
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2016. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2016. All rights reserved. ;;
4
;;  Distributed under terms of the GNU General Public License.  ;;
4
;;  Distributed under terms of the GNU General Public License.  ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 6820 $
8
$Revision: 6824 $
9
 
9
 
10
; NTFS external functions
10
; NTFS external functions
11
;   in:
11
;   in:
Line 2081... Line 2081...
2081
        xor     eax, eax
2081
        xor     eax, eax
2082
        rep stosd
2082
        rep stosd
2083
        mov     eax, [ebp+NTFS.cur_subnode_size]
2083
        mov     eax, [ebp+NTFS.cur_subnode_size]
2084
        cmp     eax, [ebp+NTFS.cur_size]
2084
        cmp     eax, [ebp+NTFS.cur_size]
2085
        jnz     @f
2085
        jnz     @f
-
 
2086
        cmp     [ebp+NTFS.sectors_per_cluster], 1
-
 
2087
        jz      @f
2086
        mov     al, 1
2088
        mov     al, 1
2087
@@:
2089
@@:
2088
        mov     [ebp+NTFS.fileDataSize], eax
2090
        mov     [ebp+NTFS.fileDataSize], eax
2089
        mov     edi, [ebp+NTFS.BitmapStart]
2091
        mov     edi, [ebp+NTFS.BitmapStart]
2090
        call    ntfsSpaceAlloc
2092
        call    ntfsSpaceAlloc