Rev 864 | Rev 889 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 864 | Rev 888 | ||
---|---|---|---|
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: 864 $ |
8 | $Revision: 888 $ |
9 | 9 | ||
10 | 10 | ||
Line 27... | Line 27... | ||
27 | map_space: ;not implemented |
27 | map_space: ;not implemented |
Line 28... | Line 28... | ||
28 | 28 | ||
Line 29... | Line -... | ||
29 | - | ||
30 | ret |
- | |
31 | - | ||
32 | - | ||
33 | align 4 |
- | |
34 | free_page: |
- | |
35 | 29 | ||
Line 36... | Line 30... | ||
36 | ret |
30 | ret |
Line 37... | Line 31... | ||
37 | 31 | ||
Line 244... | Line 238... | ||
244 | jae .expand |
238 | jae .expand |
Line 245... | Line 239... | ||
245 | 239 | ||
246 | shr edi, 12 |
240 | shr edi, 12 |
247 | shr esi, 12 |
241 | shr esi, 12 |
248 | @@: |
242 | @@: |
249 | mov eax, [app_page_tabs+edi*4] |
243 | mov ecx, [app_page_tabs+edi*4] |
250 | test eax, 1 |
244 | test ecx, 1 |
251 | jz .next |
245 | jz .next |
252 | mov dword [app_page_tabs+edi*4], 2 |
246 | mov dword [app_page_tabs+edi*4], 2 |
253 | mov ebx, edi |
247 | mov ebx, edi |
254 | shl ebx, 12 |
- | |
255 | push eax |
248 | shl ebx, 12 |
256 | invlpg [ebx] |
- | |
257 | pop eax |
249 | invlpg [ebx] |
258 | call free_page |
250 | call @core_free@4 |
259 | 251 | .next: |
|
260 | .next: add edi, 1 |
252 | add edi, 1 |
261 | cmp edi, esi |
253 | cmp edi, esi |
Line 262... | Line 254... | ||
262 | jb @B |
254 | jb @B |
263 | 255 |