Rev 4610 | Rev 7133 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4610 | Rev 7132 | ||
---|---|---|---|
Line 110... | Line 110... | ||
110 | pop r |
110 | pop r |
111 | } |
111 | } |
Line 112... | Line 112... | ||
112 | 112 | ||
113 | include '../kglobals.inc' |
113 | include '../kglobals.inc' |
- | 114 | CAPS_MTRR equ 12 |
|
- | 115 | MSR_MTRR_DEF_TYPE equ 0x2FF |
|
- | 116 | CAPS_PGE equ 13 |
|
- | 117 | CAPS_PAT equ 16 |
|
- | 118 | MSR_CR_PAT equ 0x277 |
|
114 | CAPS_MTRR equ 12 |
119 | PAT_VALUE equ 0x00070106 ; (UC<<24)|(UCM<<16)|(WC<<8)|WB |
115 | MEM_WB equ 6 ;write-back memory |
120 | MEM_WB equ 6 ;write-back memory |
116 | MEM_WC equ 1 ;write combined memory |
121 | MEM_WC equ 1 ;write combined memory |
117 | MEM_UC equ 0 ;uncached memory |
122 | MEM_UC equ 0 ;uncached memory |
Line 118... | Line 123... | ||
118 | include 'mtrr.inc' |
123 | include 'mtrr.inc' |
119 | 124 | ||
120 | BOOT_VARS = 0 |
125 | BOOT_VARS = 0 |
121 | BOOT_MTRR db 1 |
126 | BOOT.mtrr db 1 |
122 | align 4 |
127 | align 4 |
123 | cpu_caps dd 1 shl CAPS_MTRR |
128 | cpu_caps dd 1 shl CAPS_MTRR |
124 | LFBAddress dd 0xE0000000 |
129 | LFBAddress dd 0xE0000000 |