Subversion Repositories Kolibri OS

Rev

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

Rev 5356 Rev 5359
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: 5356 $
8
$Revision: 5359 $
9
 
9
 
10
 
10
 
Line 490... Line 490...
490
        stdcall alloc_pages, ebx
490
        stdcall alloc_pages, ebx
491
        test    eax, eax
491
        test    eax, eax
492
        jz      .err
492
        jz      .err
Line 493... Line 493...
493
 
493
 
494
        mov     ecx, ebx
494
        mov     ecx, ebx
495
        or      eax, PG_SWR
495
        or      eax, PG_GLOBAL+PG_SWR
496
        mov     ebx, [lin_addr]
496
        mov     ebx, [lin_addr]
Line 497... Line 497...
497
        call    commit_pages
497
        call    commit_pages
498
 
498
 
Line 504... Line 504...
504
@@:
504
@@:
505
        call    alloc_page
505
        call    alloc_page
506
        test    eax, eax
506
        test    eax, eax
507
        jz      .err
507
        jz      .err
Line 508... Line 508...
508
 
508
 
509
        stdcall map_page, edx, eax, dword PG_SWR
509
        stdcall map_page, edx, eax, dword (PG_GLOBAL+PG_SWR)
510
        add     edx, 0x1000
510
        add     edx, 0x1000
511
        dec     ebx
511
        dec     ebx
512
        jnz     @B
512
        jnz     @B
513
.end:
513
.end: