From bfdf2489f071d8ee1d1c510e503b488526111eb7 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Thu, 18 Jun 2015 10:55:19 -0700 Subject: cpu/x86: Add more MTRR symbols BRANCH=none BUG=None TEST=Build and run on strago Change-Id: Ia3740353eb16f2a2192cad8c45645f845bf39475 Signed-off-by: Lee Leahy Reviewed-on: http://review.coreboot.org/10588 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/include/cpu/x86/mtrr.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/include/cpu/x86/mtrr.h b/src/include/cpu/x86/mtrr.h index 95cabf1247..86ce57b8d7 100644 --- a/src/include/cpu/x86/mtrr.h +++ b/src/include/cpu/x86/mtrr.h @@ -12,10 +12,17 @@ #define MTRR_NUM_TYPES 7 #define MTRRcap_MSR 0x0fe + +#define MTRRcapSmrr (1 << 11) +#define MTRRcapWc (1 << 10) +#define MTRRcapFix (1 << 8) +#define MTRRcapVcnt 0xff + #define MTRRdefType_MSR 0x2ff #define MTRRdefTypeEn (1 << 11) #define MTRRdefTypeFixEn (1 << 10) +#define MTRRdefTypeType 0xff #define SMRRphysBase_MSR 0x1f2 #define SMRRphysMask_MSR 0x1f3 -- cgit v1.2.3