Subversion Repositories Kolibri OS

Rev

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

Rev 2154 Rev 2164
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2009. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2009. 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: 2154 $
8
$Revision: 2164 $
9
 
9
 
10
 
10
 
Line 542... Line 542...
542
           cmp [esi+block_flags], USED_BLOCK
542
           cmp [esi+block_flags], USED_BLOCK
543
           jne .fail
543
           jne .fail
Line 544... Line 544...
544
 
544
 
Line -... Line 545...
-
 
545
           call mutex_unlock
545
           call mutex_unlock
546
 
546
 
547
           mov eax, [esi+block_base]
547
           mov ecx, [esi+block_size];
548
           mov ecx, [esi+block_size]
548
           shr ecx, 12
549
           shr ecx, 12
549
           call release_pages   ;eax, ecx
550
           call release_pages   ;eax, ecx
550
           stdcall free_kernel_space, [base]
551
           stdcall free_kernel_space, [base]