Subversion Repositories Kolibri OS

Rev

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

Rev 5201 Rev 5565
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2015. 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: 5201 $
8
$Revision: 5565 $
9
 
9
 
Line 515... Line 515...
515
@@:
515
@@:
516
        call    alloc_page
516
        call    alloc_page
517
        test    eax, eax
517
        test    eax, eax
518
        jz      .err_3
518
        jz      .err_3
Line 519... Line 519...
519
 
519
 
520
        or      eax, PG_UW
520
        or      eax, PG_UWR
521
        stosd
521
        stosd
522
        dec     edx
522
        dec     edx
Line 523... Line 523...
523
        jnz     @B
523
        jnz     @B
Line 577... Line 577...
577
 
577
 
578
        cld
578
        cld
579
@@:
579
@@:
580
        lodsd
580
        lodsd
581
        and     eax, 0xFFFFF000
581
        and     eax, 0xFFFFF000
582
        or      eax, PG_UW
582
        or      eax, PG_UWR
583
        stosd
583
        stosd
Line 584... Line 584...
584
        loop    @B
584
        loop    @B
585
 
585
 
Line 1142... Line 1142...
1142
        mov     ecx, [esi+DLLDESCR.data]
1142
        mov     ecx, [esi+DLLDESCR.data]
1143
        shr     ecx, 12
1143
        shr     ecx, 12
1144
.map_pages_loop:
1144
.map_pages_loop:
1145
        mov     eax, [page_tabs+ecx*4]
1145
        mov     eax, [page_tabs+ecx*4]
1146
        and     eax, not 0xFFF
1146
        and     eax, not 0xFFF
1147
        or      al, PG_USER
1147
        or      al, PG_UR
1148
        xchg    eax, [page_tabs+edx*4]
1148
        xchg    eax, [page_tabs+edx*4]
1149
        test    al, 1
1149
        test    al, 1
1150
        jz      @f
1150
        jz      @f
1151
        call    free_page
1151
        call    free_page
1152
@@:
1152
@@: