Rev 519 | Rev 586 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 519 | Rev 581 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | $Revision: 519 $ |
1 | $Revision: 581 $ |
Line 2... | Line 2... | ||
2 | 2 | ||
3 | MEM_WB equ 6 ;write-back memory |
3 | MEM_WB equ 6 ;write-back memory |
4 | MEM_WC equ 1 ;write combined memory |
4 | MEM_WC equ 1 ;write combined memory |
Line 68... | Line 68... | ||
68 | jnc .no_PSE |
68 | jnc .no_PSE |
Line 69... | Line 69... | ||
69 | 69 | ||
70 | mov ebx, cr4 |
70 | mov ebx, cr4 |
71 | or ebx, CR4_PSE |
71 | or ebx, CR4_PSE |
72 | mov eax, PG_LARGE+PG_SW |
- | |
73 | - | ||
74 | ; bt [cpu_caps-OS_BASE], CAPS_PGE |
- | |
75 | ; jnc @F |
- | |
76 | - | ||
77 | ; or eax, PG_GLOBAL |
- | |
78 | ; or ebx, CR4_PGE |
- | |
79 | ; |
- | |
80 | ;@@: |
72 | mov eax, PG_LARGE+PG_SW |
81 | mov cr4, ebx |
73 | mov cr4, ebx |
Line 82... | Line 74... | ||
82 | dec [pg_data.kernel_tables-OS_BASE] |
74 | dec [pg_data.kernel_tables-OS_BASE] |
83 | 75 |