Changeset 19007 in vbox for trunk/src/VBox/Main
- Timestamp:
- Apr 18, 2009 8:07:59 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 46106
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r19002 r19007 480 480 rc = CFGMR3InsertInteger(pInst, "PCIBusNo", 1);/* ->pcibridge[0] */ RC_CHECK(); 481 481 #endif 482 483 484 Bstr tmpStr; 485 rc = pMachine->GetExtraData(Bstr("VBoxInternal/Devices/SupportExtHwProfile"), tmpStr.asOutParam()); 486 487 BOOL fExtProfile; 488 489 if (SUCCEEDED(rc)) 490 fExtProfile = (tmpStr == Bstr("on")); 491 else 492 fExtProfile = false; 482 493 483 494 /* … … 485 496 */ 486 497 BOOL fHpetEnabled; 487 /** @todo: implement appropriate getter */488 498 #ifdef VBOX_WITH_HPET 489 fHpetEnabled = true;499 fHpetEnabled = fExtProfile; 490 500 #else 491 501 fHpetEnabled = false; … … 503 513 */ 504 514 BOOL fSmcEnabled; 505 /** @todo: implement appropriate getter */506 515 #ifdef VBOX_WITH_SMC 507 fSmcEnabled = true;516 fSmcEnabled = fExtProfile; 508 517 #else 509 518 fSmcEnabled = false; … … 522 531 /** @todo: implement appropriate getter */ 523 532 #ifdef VBOX_WITH_LPC 524 fLpcEnabled = true;533 fLpcEnabled = fExtProfile; 525 534 #else 526 535 fLpcEnabled = false; … … 658 667 rc = CFGMR3InsertInteger(pCfg, "SmcEnabled", fSmcEnabled); RC_CHECK(); 659 668 #endif 669 rc = CFGMR3InsertInteger(pCfg, "ShowRtc", fExtProfile); RC_CHECK(); 670 rc = CFGMR3InsertInteger(pCfg, "ShowCpu", fExtProfile); RC_CHECK(); 660 671 rc = CFGMR3InsertInteger(pInst, "PCIDeviceNo", 7); RC_CHECK(); 661 672 Assert(!afPciDeviceNo[7]);
Note:
See TracChangeset
for help on using the changeset viewer.