[coreboot] New patch to review for coreboot: 1d3497c haswell: move definition of CORE_THREAD_COUNT_MSR

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Fri Mar 15 20:49:37 CET 2013


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2744

-gerrit

commit 1d3497c6aa024143088b622e13f5e471b574aba6
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Sat Jan 12 00:45:10 2013 -0600

    haswell: move definition of CORE_THREAD_COUNT_MSR
    
    This just moves the definiton of CORE_THREAD_COUNT_MSR so
    that future code can utilize it.
    
    Change-Id: I15a381090f21ff758288f55dc964b6694feb6064
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
---
 src/cpu/intel/haswell/haswell.h     | 1 +
 src/cpu/intel/haswell/smmrelocate.c | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/cpu/intel/haswell/haswell.h b/src/cpu/intel/haswell/haswell.h
index f5c580e..7ce868d 100644
--- a/src/cpu/intel/haswell/haswell.h
+++ b/src/cpu/intel/haswell/haswell.h
@@ -25,6 +25,7 @@
 /* Haswell bus clock is fixed at 100MHz */
 #define HASWELL_BCLK		100
 
+#define CORE_THREAD_COUNT_MSR		0x35
 #define IA32_FEATURE_CONTROL		0x3a
 #define  CPUID_VMX			(1 << 5)
 #define  CPUID_SMX			(1 << 6)
diff --git a/src/cpu/intel/haswell/smmrelocate.c b/src/cpu/intel/haswell/smmrelocate.c
index e2a6482..1ccc9bb 100644
--- a/src/cpu/intel/haswell/smmrelocate.c
+++ b/src/cpu/intel/haswell/smmrelocate.c
@@ -36,8 +36,6 @@
 #define UNCORE_EMRRphysBase_MSR 0x2f4
 #define UNCORE_EMRRphysMask_MSR 0x2f5
 
-#define CORE_THREAD_COUNT_MSR 0x35
-
 #define SMRR_SUPPORTED (1<<11)
 #define EMRR_SUPPORTED (1<<12)
 



More information about the coreboot mailing list