Subversion Repositories Kolibri OS

Rev

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

Rev 5130 Rev 5356
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-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: 5130 $
8
$Revision: 5356 $
9
 
9
 
Line 601... Line 601...
601
@@:
601
@@:
602
        call    alloc_page
602
        call    alloc_page
603
        test    eax, eax
603
        test    eax, eax
604
        jz      .err_3
604
        jz      .err_3
Line 605... Line 605...
605
 
605
 
606
        or      eax, PG_UW
606
        or      eax, PG_UWR
607
        stosd
607
        stosd
608
        dec     edx
608
        dec     edx
Line 609... Line 609...
609
        jnz     @B
609
        jnz     @B
Line 663... Line 663...
663
 
663
 
664
        cld
664
        cld
665
@@:
665
@@:
666
        lodsd
666
        lodsd
667
        and     eax, 0xFFFFF000
667
        and     eax, 0xFFFFF000
668
        or      eax, PG_UW
668
        or      eax, PG_UWR
669
        stosd
669
        stosd
Line 670... Line 670...
670
        loop    @B
670
        loop    @B
671
 
671
 
Line 1228... Line 1228...
1228
        mov     ecx, [esi+DLLDESCR.data]
1228
        mov     ecx, [esi+DLLDESCR.data]
1229
        shr     ecx, 12
1229
        shr     ecx, 12
1230
.map_pages_loop:
1230
.map_pages_loop:
1231
        mov     eax, [page_tabs+ecx*4]
1231
        mov     eax, [page_tabs+ecx*4]
1232
        and     eax, not 0xFFF
1232
        and     eax, not 0xFFF
1233
        or      al, PG_USER
1233
        or      al, PG_UR
1234
        xchg    eax, [page_tabs+edx*4]
1234
        xchg    eax, [page_tabs+edx*4]
1235
        test    al, 1
1235
        test    al, 1
1236
        jz      @f
1236
        jz      @f
1237
        call    free_page
1237
        call    free_page
1238
@@:
1238
@@: