Subversion Repositories Kolibri OS

Rev

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

Rev 821 Rev 837
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: 821 $
8
$Revision: 837 $
9
 
9
 
Line 239... Line 239...
239
           mov ebx, [page_start]
239
           mov ebx, [page_start]
240
           mov edx, sys_pgmap
240
           mov edx, sys_pgmap
241
@@:
241
@@:
242
           xor eax, eax
242
           xor eax, eax
243
           xchg eax, [esi]
243
           xchg eax, [esi]
-
 
244
           push eax
244
           invlpg [edi]
245
           invlpg [edi]
-
 
246
           pop eax
Line 245... Line 247...
245
 
247
 
246
           test eax, 1
248
           test eax, 1
Line 247... Line 249...
247
           jz .next
249
           jz .next
Line 415... Line 417...
415
           test eax, 1
417
           test eax, 1
416
           jz .next
418
           jz .next
417
           mov dword [app_page_tabs+edi*4], 2
419
           mov dword [app_page_tabs+edi*4], 2
418
           mov ebx, edi
420
           mov ebx, edi
419
           shl ebx, 12
421
           shl ebx, 12
-
 
422
           push eax
420
           invlpg [ebx]
423
           invlpg [ebx]
-
 
424
           pop eax
421
           call free_page
425
           call free_page
Line 422... Line 426...
422
 
426
 
423
.next:     add edi, 1
427
.next:     add edi, 1
424
           cmp edi, esi
428
           cmp edi, esi
Line 557... Line 561...
557
           mov ds, ax
561
           mov ds, ax
558
           mov es, ax
562
           mov es, ax
Line 559... Line 563...
559
 
563
 
Line 560... Line -...
560
           inc [pg_data.pages_faults]
-
 
561
 
-
 
562
;     push eax
-
 
563
;     push edx
-
 
564
;     mov edx, 0x400   ;bochs
564
           inc [pg_data.pages_faults]
565
;     mov al,0xff      ;bochs
-
 
566
;     out dx, al       ;bochs
565
 
Line 567... Line 566...
567
;     pop edx
566
;           xchg bx,bx
568
;     pop eax
567
;           jmp .exit
Line 569... Line 568...
569
 
568