Subversion Repositories Kolibri OS

Rev

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

Rev 6798 Rev 6809
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2013-2016. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2013-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: 6798 $
8
$Revision: 6809 $
9
 
9
 
10
; EXT external functions
10
; EXT external functions
11
;   in:
11
;   in:
Line 807... Line 807...
807
        call    extfsReadDescriptor
807
        call    extfsReadDescriptor
808
        jc      @f
808
        jc      @f
809
        mov     ebx, [ebx+BGDESCR.inodeTable]
809
        mov     ebx, [ebx+BGDESCR.inodeTable]
810
        mov     ecx, [ebp+EXTFS.sectorsPerBlockLog]
810
        mov     ecx, [ebp+EXTFS.sectorsPerBlockLog]
811
        shl     ebx, cl
811
        shl     ebx, cl
812
        mov     eax, edx
812
        movzx   eax, [ebp+EXTFS.superblock.inodeSize]
813
        mul     [ebp+EXTFS.superblock.inodeSize]
813
        mul     edx
814
        mov     edx, eax
814
        mov     edx, eax
815
        shr     eax, 9
815
        shr     eax, 9
816
        and     edx, 511
816
        and     edx, 511
817
        add     eax, ebx
817
        add     eax, ebx
818
@@:
818
@@: