Subversion Repositories Kolibri OS

Rev

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

Rev 203 Rev 207
Line 38... Line 38...
38
           bt [cpu_caps], CAPS_PGE
38
           bt [cpu_caps], CAPS_PGE
39
           jnc @F
39
           jnc @F
40
           or eax, PG_GLOBAL
40
           or eax, PG_GLOBAL
41
           or ebx, CR4_PGE
41
           or ebx, CR4_PGE
42
 
42
@@:
43
@@:
-
 
44
           mov cr4, ebx
43
           mov cr4, ebx
45
 
44
 
Line 46... Line 45...
46
           mov dword [sys_pgdir], eax
45
           mov dword [sys_pgdir], eax
47
           add eax, 0x00400000
46
           add eax, 0x00400000
Line 322... Line 321...
322
           add esi, 0x00400000
321
           add esi, 0x00400000
323
           dec edi
322
           dec edi
324
           jnz @B
323
           jnz @B
325
 
324
 
Line -... Line 325...
-
 
325
           bt [cpu_caps], CAPS_PGE
-
 
326
           jnc @F
326
           or dword [sys_pgdir+ecx], PG_GLOBAL
327
           or dword [sys_pgdir+ecx], PG_GLOBAL
-
 
328
@@:
327
           mov eax, cr3       ;flush TLB
329
           mov eax, cr3       ;flush TLB
328
           mov cr3, eax
330
           mov cr3, eax
329
           ret
331
           ret
Line 330... Line 332...
330
 
332