From a265d5c0a0449ade24b999635fecc253c612bee3 Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Fri, 1 Aug 2003 03:01:28 +0000 Subject: - Update cpufixup so we support more than 4GB of memory git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1063 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/k8/cpufixup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cpu/k8/cpufixup.c b/src/cpu/k8/cpufixup.c index 573064071d..fa9c1d2a52 100644 --- a/src/cpu/k8/cpufixup.c +++ b/src/cpu/k8/cpufixup.c @@ -36,7 +36,7 @@ void k8_cpufixup(struct mem_range *mem) /* Setup TOP_MEM2 */ msr.hi = tomk >> 22; - msr.lo = tomk << 12; + msr.lo = tomk << 10; wrmsr(TOP_MEM2, msr); /* zero the IORR's before we enable to prevent @@ -47,7 +47,7 @@ void k8_cpufixup(struct mem_range *mem) wrmsr(i, msr); } - msr = rdmsr(SYSCFG); + msr = rdmsr(SYSCFG_MSR); msr.lo |= SYSCFG_MSR_MtrrVarDramEn | SYSCFG_MSR_TOM2En; - wrmsr(SYSCFG, msr); + wrmsr(SYSCFG_MSR, msr); } -- cgit v1.2.3