Subversion Repositories Kolibri OS

Rev

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

Rev 417 Rev 418
Line 446... Line 446...
446
           mov eax, [page_tabs+eax*4]
446
           mov eax, [page_tabs+eax*4]
447
           and eax, 0xFFFFF000
447
           and eax, 0xFFFFF000
448
           ret
448
           ret
449
 
449
 
Line -... Line 450...
-
 
450
 
450
align 4
451
align 4
451
proc page_fault_handler
452
proc page_fault_handler
-
 
453
 
-
 
454
        .err_code equ ebp+32
-
 
455
        .err_addr equ ebp-4
-
 
456
 
452
           pushad
457
           pushad
Line 453... Line 458...
453
 
458
 
454
     push eax
459
     push eax
455
     push edx
460
     push edx
Line 470... Line 475...
470
           mov es, ax
475
           mov es, ax
471
 
476
 
Line 472... Line 477...
472
           inc [pg_data.pages_faults]
477
           inc [pg_data.pages_faults]
Line 473... Line 478...
473
 
478
 
Line 474... Line 479...
474
           mov ebx, [ebp-4]
479
           mov ebx, [.err_addr]
475
 
480
 
Line 476... Line 481...
476
           cmp ebx, 0x80000000
481
           cmp ebx, 0x80000000