projects
/
coreboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8aeb2a4
)
- Update cpufixup so we support more than 4GB of memory
author
Eric Biederman
<ebiederm@xmission.com>
Fri, 1 Aug 2003 03:01:28 +0000
(
03:01
+0000)
committer
Eric Biederman
<ebiederm@xmission.com>
Fri, 1 Aug 2003 03:01:28 +0000
(
03:01
+0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1063
2b7e53f0
-3cfb-0310-b3e9-
8179ed1497e1
src/cpu/k8/cpufixup.c
patch
|
blob
|
history
diff --git
a/src/cpu/k8/cpufixup.c
b/src/cpu/k8/cpufixup.c
index 573064071df0cada844fd19524e8cbfa5d83ba41..fa9c1d2a522714bdd33f7b94d965a42e12a5215b 100644
(file)
--- 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 << 1
2
;
+ msr.lo = tomk << 1
0
;
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);
}