- Initial checkin of the freebios2 tree
[coreboot.git] / src / include / cpu / k8 / mtrr.h
1 #ifndef CPU_K8_MTRR_H
2 #define CPU_K8_MTRR_H
3
4 #include <cpu/k7/mtrr.h>
5
6 #if 0
7 #define IORR_FIRST 0xC0010016
8 #define IORR_LAST  0xC0010019
9 #define SYSCFG     0xC0010010
10
11 #define MTRR_READ_MEM                   (1 << 4)
12 #define MTRR_WRITE_MEM                  (1 << 3)
13
14 #define SYSCFG_MSR                      0xC0010010
15 #define SYSCFG_MSR_EvictEn              (1 << 22)
16 #define SYSCFG_MSR_TOM2En               (1 << 21)
17 #define SYSCFG_MSR_MtrrVarDramEn        (1 << 20)
18 #define SYSCFG_MSR_MtrrFixDramModEn     (1 << 19)
19 #define SYSCFG_MSR_MtrrFixDramEn        (1 << 18)
20 #define SYSCFG_MSR_UcLockEn             (1 << 17)
21 #define SYSCFG_MSR_ChxToDirtyDis        (1 << 16)
22 #define SYSCFG_MSR_SysEccEn             (1 << 15)
23 #define SYSCFG_MSR_RdBlkL2WayEn         (1 << 14)
24 #define SYSCFG_MSR_SysFillValIsD1       (1 << 13)
25 #define SYSCFG_MSR_IcInclusive          (1 << 12)
26 #define SYSCFG_MSR_ClVicBlkEn           (1 << 11)
27 #define SYSCFG_MSR_SetDirtyEnO          (1 << 10)
28 #define SYSCFG_MSR_SetDirtyEnS          (1 <<  9)
29 #define SYSCFG_MSR_SetDirtyEnE          (1 <<  8)
30 #define SYSCFG_MSR_SysVicLimitMask      ((1 << 8) - (1 << 5))
31 #define SYSCFG_MSR_SysAckLimitMask      ((1 << 5) - (1 << 0))
32
33
34
35 #define IORR0_BASE                      0xC0010016
36 #define IORR0_MASK                      0xC0010017
37 #define IORR1_BASE                      0xC0010018
38 #define IORR1_MASK                      0xC0010019
39 #define TOP_MEM                         0xC001001A
40 #define TOP_MEM2                        0xC001001D
41 #define HWCR_MSR                        0xC0010015
42
43 #endif
44
45 #endif /* CPU_K8_MTRR_H */