I check the amd_early_mtrr.c with old amd earymtrr.inc. It seems the only difference is not enable SYSCFG_MSR_MtrrFixDramModEn before clear MTRR fixed.
I enable that, but the result shows no change....
YH
On Fri, 2005-01-14 at 12:45, YhLu wrote:
I check the amd_early_mtrr.c with old amd earymtrr.inc. It seems the only difference is not enable SYSCFG_MSR_MtrrFixDramModEn before clear MTRR fixed.
Probably I didn't commit all the old code I used to have. Anyway, the things we have to do in early_mtrr.c are:
1. enable SYSCFG_MSR_MtrrFixDramModEn 2. set fixed mtrrs for 0-0x9FFFF and 0xC0000-0xFFFFF as WB and READ_MEM and WRITE_MEM 3. set fixed mtrrs for 0xA0000-0xBFFF to UC 4. disable SYSCFG_MSR_MtrrFixDramModEn 5. enable SYSCFG_MSR_MtrrFixDramEn
Ollie
I enable that, but the result shows no change....
YH