Subversion Repositories Kolibri OS

Rev

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

Rev 3742 Rev 4133
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2011-2012. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2011-2012. 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: 3742 $
8
$Revision: 4133 $
9
 
9
 
10
; This function is intended to replace the old 'hd_read' function when
10
; This function is intended to replace the old 'hd_read' function when
11
; [hdd_appl_data] = 0, so its input/output parameters are the same, except
11
; [hdd_appl_data] = 0, so its input/output parameters are the same, except
Line 510... Line 510...
510
        mov     [esi+DISK.SysCache.data], eax
510
        mov     [esi+DISK.SysCache.data], eax
511
        mov     [esi+DISK.SysCache.sad_size], ecx
511
        mov     [esi+DISK.SysCache.sad_size], ecx
Line 512... Line 512...
512
 
512
 
513
        push    edi
513
        push    edi
514
        mov     edi, [esi+DISK.SysCache.pointer]
514
        mov     edi, [esi+DISK.SysCache.pointer]
515
        lea     ecx, [ecx*3]
515
        lea     ecx, [(ecx+1)*3]
516
        xor     eax, eax
516
        xor     eax, eax
517
        rep stosd
517
        rep stosd
Line 518... Line 518...
518
        pop     edi
518
        pop     edi
Line 525... Line 525...
525
        mov     [esi+DISK.AppCache.data], eax
525
        mov     [esi+DISK.AppCache.data], eax
526
        mov     [esi+DISK.AppCache.sad_size], ecx
526
        mov     [esi+DISK.AppCache.sad_size], ecx
Line 527... Line 527...
527
 
527
 
528
        push    edi
528
        push    edi
529
        mov     edi, [esi+DISK.AppCache.pointer]
529
        mov     edi, [esi+DISK.AppCache.pointer]
530
        lea     ecx, [ecx*3]
530
        lea     ecx, [(ecx+1)*3]
531
        xor     eax, eax
531
        xor     eax, eax
532
        rep stosd
532
        rep stosd
Line 533... Line 533...
533
        pop     edi
533
        pop     edi