Subversion Repositories Kolibri OS

Rev

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

Rev 7136 Rev 7965
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2004-2016. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2020. 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: 7136 $
8
$Revision: 7965 $
9
 
9
 
Line 1226... Line 1226...
1226
        mov     [eax+HDLL.size], edi
1226
        mov     [eax+HDLL.size], edi
1227
        mov     [eax+HDLL.refcount], 1
1227
        mov     [eax+HDLL.refcount], 1
1228
        mov     [eax+HDLL.parent], esi
1228
        mov     [eax+HDLL.parent], esi
1229
        mov     edx, ebx
1229
        mov     edx, ebx
1230
        shr     edx, 12
1230
        shr     edx, 12
1231
        or      dword [page_tabs+(edx-1)*4], DONT_FREE_BLOCK
1231
        or      dword [page_tabs+(edx-1)*4], MEM_BLOCK_DONT_FREE
1232
; copy entries of page table from kernel-side image to usermode
1232
; copy entries of page table from kernel-side image to usermode
1233
; use copy-on-write for user-mode image, so map as readonly
1233
; use copy-on-write for user-mode image, so map as readonly
1234
        xor     edi, edi
1234
        xor     edi, edi
1235
        mov     ecx, [esi+DLLDESCR.data]
1235
        mov     ecx, [esi+DLLDESCR.data]
1236
        shr     ecx, 12
1236
        shr     ecx, 12