Subversion Repositories Kolibri OS

Rev

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

Rev 888 Rev 889
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2007. 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: 888 $
8
$Revision: 889 $
9
 
9
 
Line 144... Line 144...
144
           xor ebx, ebx
144
           xor ebx, ebx
145
           shr esi, 12
145
           shr esi, 12
146
           mov eax, [page_tabs+(esi-1)*4]
146
           mov eax, [page_tabs+(esi-1)*4]
147
           test al, USED_BLOCK
147
           test al, USED_BLOCK
148
           jz .cantfree
148
           jz .cantfree
-
 
149
 
149
           test al, DONT_FREE_BLOCK
150
           test al, DONT_FREE_BLOCK
150
           jnz .cantfree
151
           jnz .cantfree
Line 151... Line 152...
151
 
152
 
Line 157... Line 158...
157
           mov [page_tabs+(esi-1)*4], eax
158
           mov [page_tabs+(esi-1)*4], eax
158
           sub edi, 4096
159
           sub edi, 4096
159
           mov ebx, edi
160
           mov ebx, edi
160
           shr edi, 12
161
           shr edi, 12
161
           jz .released
162
           jz .released
-
 
163
 
162
.release:
164
.release:
163
           xor ecx, ecx
165
           xor ecx, ecx
164
           xchg ecx, [page_tabs+esi*4]
166
           xchg ecx, [page_tabs+esi*4]
165
           test cl, 1
167
           test cl, 1
166
           jz @F
168
           jz @F