Submitter | Arne Georg Gleditsch |
---|---|
Date | 2010-09-09 08:01:49 |
Message ID | <87wrqvs5ua.fsf@taniquetil.gledits.ch> |
Download | mbox | patch |
Permalink | /patch/1894/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/src/arch/i386/lib/cbfs_and_run.c b/src/arch/i386/lib/cbfs_and_run.c index 1b86f56..2f90b0c 100644 --- a/src/arch/i386/lib/cbfs_and_run.c +++ b/src/arch/i386/lib/cbfs_and_run.c @@ -34,6 +34,12 @@ void cbfs_and_run_core(const char *filename, unsigned ebp) asm("hlt\n"); } + __asm__ volatile ( + "rdmsr\n" + "btr $15, %%eax\n" + "wrmsr\n" + :: "c"(0xc001102a) : "eax", "edx"); + print_debug("Jumping to image.\n"); __asm__ volatile ( "movl %%eax, %%ebp\n" diff --git a/src/northbridge/amd/amdmct/mct/mct_d.c b/src/northbridge/amd/amdmct/mct/mct_d.c index 3693891..fd07fa5 100644 --- a/src/northbridge/amd/amdmct/mct/mct_d.c +++ b/src/northbridge/amd/amdmct/mct/mct_d.c @@ -3189,7 +3189,7 @@ static void mct_FinalMCT_D(struct MCTStatStruc *pMCTstat, print_t("\tmct_FinalMCT_D: Clr Cl, Wb\n"); - mct_ClrClToNB_D(pMCTstat, pDCTstat); +// mct_ClrClToNB_D(pMCTstat, pDCTstat); mct_ClrWbEnhWsbDis_D(pMCTstat, pDCTstat); }