Changeset 26662 in vbox
- Timestamp:
- Feb 19, 2010 3:11:13 PM (15 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
-
Main/ConsoleImpl2.cpp (modified) (1 diff)
-
VMM/CPUM.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r26609 r26662 394 394 rc = CFGMR3InsertNode(pRoot, "CPUM", &pCPUM); RC_CHECK(); 395 395 rc = CFGMR3InsertInteger(pCPUM, "NT4LeafLimit", true); RC_CHECK(); 396 } 397 398 if (osTypeId == "MacOS") 399 { 400 /* 401 * Expose extended MWAIT features to Mac OS guests. 402 */ 403 LogRel(("Using MWAIT extensions\n")); 404 PCFGMNODE pCPUM; 405 rc = CFGMR3InsertNode(pRoot, "CPUM", &pCPUM); RC_CHECK(); 406 rc = CFGMR3InsertInteger(pCPUM, "MWaitExtensions", true); RC_CHECK(); 396 407 } 397 408 -
trunk/src/VBox/VMM/CPUM.cpp
r26654 r26662 621 621 622 622 pCPUM->aGuestCpuIdStd[5].ecx = pCPUM->aGuestCpuIdStd[5].edx = 0; 623 /** @cfgm{/CPUM/MWaitExtensions, boolean, false} 624 * Expose MWAIT extended features to the guest. 625 * For now we expose just MWAIT break on interrupt feature (bit 1) 626 */ 627 bool fMWaitExtensions; 628 rc = CFGMR3QueryBoolDef(pCpumCfg, "MWaitExtensions", &fMWaitExtensions, false); AssertRCReturn(rc, rc); 629 if (fMWaitExtensions) 630 pCPUM->aGuestCpuIdStd[5].ecx = 3; 623 631 624 632 /*
Note:
See TracChangeset
for help on using the changeset viewer.

