From 361bd10bcea5db98cfc573987023449c2f59287d Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 17 Nov 2010 21:52:15 +0000 Subject: Move Intel power management related defines to some central location. Signed-off-by: Patrick Georgi Acked-by: Patrick Georgi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6085 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/intel/speedstep/acpi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/cpu') diff --git a/src/cpu/intel/speedstep/acpi.c b/src/cpu/intel/speedstep/acpi.c index 33898e3280..954b669515 100644 --- a/src/cpu/intel/speedstep/acpi.c +++ b/src/cpu/intel/speedstep/acpi.c @@ -25,6 +25,7 @@ #include #include #include +#include #include // XXX: PSS table values for power consumption are for Merom only @@ -83,8 +84,6 @@ void generate_cpu_entries(void) int max_states=8; int busratio_step=2; -#define IA32_PLATFORM_ID 0x017 -#define IA32_PERF_STS 0x198 msr = rdmsr(IA32_PERF_STS); int busratio_min=(msr.lo >> 24) & 0x1f; int busratio_max=(msr.hi >> (40-32)) & 0x1f; -- cgit v1.2.3