summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;