summaryrefslogtreecommitdiff
path: root/src/cpu/amd/model_gx2
diff options
context:
space:
mode:
authorLi-Ta Lo <ollie@lanl.gov>2006-04-06 20:23:29 +0000
committerLi-Ta Lo <ollie@lanl.gov>2006-04-06 20:23:29 +0000
commit69085400f1a661abdb93e10cf7a6a8b4a42e540c (patch)
tree34ae37e9f657b42b9fac925f7aacf01ed5441f3a /src/cpu/amd/model_gx2
parent5917c62749b9cdb60e54bb409bf74fe50e414aa7 (diff)
reformat
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2238 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd/model_gx2')
-rw-r--r--src/cpu/amd/model_gx2/cpubug.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/cpu/amd/model_gx2/cpubug.c b/src/cpu/amd/model_gx2/cpubug.c
index 8623f223ff..996b4c90e1 100644
--- a/src/cpu/amd/model_gx2/cpubug.c
+++ b/src/cpu/amd/model_gx2/cpubug.c
@@ -237,8 +237,8 @@ void bug118253(void){
wrmsr(GLPCI_SPARE, msr);
}
-void
-bug118339(void) {
+void bug118339(void)
+{
printk_err("This is OPTIONAL BIOS-ENABLED ... ignore for now\n");
#if 0
PROC NEAR PUBLIC
@@ -331,16 +331,18 @@ CPUbug118339 ENDP
/** Modified:*/
/***/
/****************************************************************************/
-void
-disablememoryreadorder(void) {
+void disablememoryreadorder(void)
+{
msr_t msr;
msr = rdmsr(MC_CF8F_DATA);
msr.hi |= CF8F_UPPER_REORDER_DIS_SET;
wrmsr(MC_CF8F_DATA, msr);
}
+
void
-cpubug(void){
+cpubug(void)
+{
msr_t msr;
int rev;