Rev 887 | Rev 889 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 887 | Rev 888 | ||
---|---|---|---|
Line 56... | Line 56... | ||
56 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
56 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
57 | 57 | ||
Line 58... | Line 58... | ||
58 | include 'macros.inc' |
58 | include 'macros.inc' |
Line 59... | Line 59... | ||
59 | 59 | ||
Line 60... | Line 60... | ||
60 | $Revision: 887 $ |
60 | $Revision: 888 $ |
Line 61... | Line 61... | ||
61 | 61 | ||
Line 144... | Line 144... | ||
144 | extrn @core_free@4 |
144 | extrn @core_free@4 |
145 | 145 | ||
Line 146... | Line 146... | ||
146 | extrn @init_heap@8 |
146 | extrn @init_heap@8 |
147 | extrn @find_large_md@4 |
147 | extrn @find_large_md@4 |
148 | extrn @find_small_md@4 |
- | |
149 | extrn @phis_alloc@4 |
148 | extrn @phis_alloc@4 |
Line 150... | Line 149... | ||
150 | 149 | ||
151 | extrn @mem_alloc@8 |
150 | extrn @mem_alloc@8 |
Line 2395... | Line 2394... | ||
2395 | mov ecx, [mem_BACKGROUND] |
2394 | mov ecx, [mem_BACKGROUND] |
2396 | add ecx, 0xFFF |
2395 | add ecx, 0xFFF |
2397 | shr ecx, 12 |
2396 | shr ecx, 12 |
2398 | .z: |
2397 | .z: |
2399 | mov eax, [page_tabs+ebx*4] |
2398 | mov eax, [page_tabs+esi*4] |
2400 | test al, 1 |
- | |
2401 | jz @f |
- | |
2402 | call free_page |
- | |
2403 | @@: |
- | |
2404 | mov eax, [page_tabs+esi*4] |
- | |
2405 | or al, PG_UW |
2399 | or al, PG_UW |
2406 | mov [page_tabs+ebx*4], eax |
2400 | mov [page_tabs+ebx*4], eax |
2407 | mov eax, ebx |
2401 | mov eax, ebx |
2408 | shl eax, 12 |
2402 | shl eax, 12 |
2409 | invlpg [eax] |
2403 | invlpg [eax] |