Changeset 102523 in vbox
- Timestamp:
- Dec 7, 2023 1:39:07 PM (12 months ago)
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUM.cpp
r102410 r102523 4708 4708 pCtxMsrs->msr.MtrrFix4K_F0000 = 0x0505050505050505; 4709 4709 pCtxMsrs->msr.MtrrFix4K_F8000 = 0x0505050505050505; 4710 pCtxMsrs->msr.aMtrrVarMsrs[0].MtrrPhysBase = GCPhysFirst | X86_MTRR_MT_WB;4711 pCtxMsrs->msr.aMtrrVarMsrs[0].MtrrPhysMask = fMtrrPhysMask | MSR_IA32_MTRR_PHYSMASK_VALID;4710 //pCtxMsrs->msr.aMtrrVarMsrs[0].MtrrPhysBase = GCPhysFirst | X86_MTRR_MT_WB; 4711 //pCtxMsrs->msr.aMtrrVarMsrs[0].MtrrPhysMask = fMtrrPhysMask | MSR_IA32_MTRR_PHYSMASK_VALID; 4712 4712 } 4713 4713 LogRel(("CPUM: Initialized MTRRs (fMtrrPhysMask=%RGp GCPhysLast=%RGp)\n", fMtrrPhysMask, GCPhysLast)); -
trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp
r102391 r102523 3287 3287 /* Check if MTRR read+write support is enabled. */ 3288 3288 bool fEnableMtrrWrite; 3289 rc = CFGMR3QueryBoolDef(pCpumCfg, "MTRRWrite", &fEnableMtrrWrite, false);3289 rc = CFGMR3QueryBoolDef(pCpumCfg, "MTRRWrite", &fEnableMtrrWrite, true); 3290 3290 AssertRCReturn(rc, rc); 3291 3291 if (fEnableMtrrWrite)
Note:
See TracChangeset
for help on using the changeset viewer.