Subversion Repositories Kolibri OS

Rev

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

Rev 890 Rev 897
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: 890 $
8
$Revision: 897 $
9
 
9
 
10
 
10
 
Line 366... Line 366...
366
;  eax= phisical page address
366
;  eax= phisical page address
Line 367... Line 367...
367
 
367
 
368
align 4
368
align 4
369
_GetPgAddr:
369
_GetPgAddr:
-
 
370
get_pg_addr:
-
 
371
 
-
 
372
           cmp eax, OS_BASE
-
 
373
           jae @F
370
get_pg_addr:
374
 
371
           shr eax, 12
375
           shr eax, 12
372
           mov eax, [page_tabs+eax*4]
376
           mov eax, [page_tabs+eax*4]
373
           and eax, 0xFFFFF000
377
           and eax, 0xFFFFF000
374
           ret
378
           ret
-
 
379
@@:
-
 
380
           sub eax, OS_BASE
-
 
381
           and eax, 0xFFFFF000
Line 375... Line 382...
375
 
382
           ret
376
 
383
 
Line 377... Line 384...
377
align 4
384
align 4