Subversion Repositories Kolibri OS

Rev

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

Rev 514 Rev 519
Line 52... Line 52...
52
;;
52
;;
53
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
53
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 54... Line 54...
54
 
54
 
Line 55... Line 55...
55
include 'macros.inc'
55
include 'macros.inc'
Line 56... Line 56...
56
 
56
 
57
$Revision: 514 $
57
$Revision: 519 $
58
 
58
 
Line 275... Line 275...
275
           mov   ds,bx
275
           mov ds,bx
276
           mov   es,bx
276
           mov es,bx
277
           mov   fs,bx
277
           mov fs,bx
278
           mov   gs,bx
278
           mov gs,bx
Line -... Line 279...
-
 
279
 
-
 
280
           bt [cpu_caps], CAPS_PGE
-
 
281
           jnc @F
279
 
282
 
-
 
283
           or dword [sys_pgdir+(OS_BASE shr 20)], PG_GLOBAL
-
 
284
 
-
 
285
           mov ebx, cr4
-
 
286
           or ebx, CR4_PGE
-
 
287
           mov cr4, ebx
-
 
288
@@:
280
           mov dword [sys_pgdir], 0
289
           xor eax, eax
281
           mov dword [sys_pgdir+4], 0
290
           mov dword [sys_pgdir], eax
Line 282... Line 291...
282
           mov dword [sys_pgdir+8], 0
291
           mov dword [sys_pgdir+4], eax
283
 
292
 
Line 284... Line 293...
284
           mov eax, cr3
293
           mov eax, cr3