Changeset 28580 in vbox
- Timestamp:
- Apr 22, 2010 7:21:06 AM (15 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/DevEFI.cpp
r28569 r28580 1012 1012 #endif 1013 1013 "DmiUseHostInfo\0" 1014 "DmiExpose AdditionalTables\0"1014 "DmiExposeMemoryTable\0" 1015 1015 "64BitEntry\0" 1016 1016 "BootArgs\0" -
trunk/src/VBox/Devices/PC/DevFwCommon.cpp
r28569 r28580 511 511 fwCommonUseHostDMIStrings(); 512 512 513 uint8_t fDmiExpose AdditionalTables;514 rc = CFGMR3QueryU8Def(pCfg, "DmiExpose AdditionalTables", &fDmiExposeAdditionalTables, 0);513 uint8_t fDmiExposeMemoryTable; 514 rc = CFGMR3QueryU8Def(pCfg, "DmiExposeMemoryTable", &fDmiExposeMemoryTable, 0); 515 515 if (RT_FAILURE (rc)) 516 516 return PDMDEV_SET_ERROR(pDevIns, rc, 517 N_("Configuration error: Failed to read \"DmiExpose AdditionalTables\""));517 N_("Configuration error: Failed to read \"DmiExposeMemoryTable\"")); 518 518 519 519 for (;; fForceDefault = true, fHideErrors = false) … … 677 677 TERM_STRUCT; 678 678 679 if (fDmiExpose AdditionalTables)679 if (fDmiExposeMemoryTable) 680 680 { 681 681 /*************************************** -
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r28569 r28580 948 948 #endif 949 949 "DmiUseHostInfo\0" 950 "DmiExpose AdditionalTables\0"950 "DmiExposeMemoryTable\0" 951 951 )) 952 952 return PDMDEV_SET_ERROR(pDevIns, VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES, -
trunk/src/VBox/Main/ConsoleImpl2.cpp
r28569 r28580 674 674 * Enable 3 following devices: HPET, SMC, LPC on MacOS X guests 675 675 */ 676 BOOL fExtProfile = fOsXGuest;677 678 676 /* 679 677 * High Precision Event Timer (HPET) … … 684 682 hrc = pMachine->COMGETTER(HpetEnabled)(&fHpetEnabled); H(); 685 683 /* so always enable HPET in extended profile */ 686 fHpetEnabled |= f ExtProfile;684 fHpetEnabled |= fOsXGuest; 687 685 #else 688 686 fHpetEnabled = false; … … 700 698 BOOL fSmcEnabled; 701 699 #ifdef VBOX_WITH_SMC 702 fSmcEnabled = f ExtProfile;700 fSmcEnabled = fOsXGuest; 703 701 #else 704 702 fSmcEnabled = false; … … 721 719 /** @todo: implement appropriate getter */ 722 720 #ifdef VBOX_WITH_LPC 723 fLpcEnabled = f ExtProfile;721 fLpcEnabled = fOsXGuest; 724 722 #else 725 723 fLpcEnabled = false; … … 1044 1042 1045 1043 /* For OS X guests we'll force passing host's DMI info to the guest */ 1046 if (f ExtProfile)1044 if (fOsXGuest) 1047 1045 { 1048 1046 rc = CFGMR3InsertInteger(pCfg, "DmiUseHostInfo", 1); RC_CHECK(); 1049 rc = CFGMR3InsertInteger(pCfg, "DmiExpose AdditionalTables", 1);RC_CHECK();1047 rc = CFGMR3InsertInteger(pCfg, "DmiExposeMemoryTable", 1); RC_CHECK(); 1050 1048 } 1051 1049 } … … 2225 2223 { 2226 2224 BOOL fCpuHotPlug = false; 2227 BOOL fShowCpu = f ExtProfile;2225 BOOL fShowCpu = fOsXGuest; 2228 2226 /* Always show the CPU leafs when we have multiple VCPUs or when the IO-APIC is enabled. 2229 2227 * The Windows SMP kernel needs a CPU leaf or else its idle loop will burn cpu cycles; the … … 2247 2245 rc = CFGMR3InsertInteger(pCfg, "HpetEnabled", fHpetEnabled); RC_CHECK(); 2248 2246 rc = CFGMR3InsertInteger(pCfg, "SmcEnabled", fSmcEnabled); RC_CHECK(); 2249 rc = CFGMR3InsertInteger(pCfg, "ShowRtc", f ExtProfile);RC_CHECK();2250 if (f ExtProfile&& !llBootNics.empty())2247 rc = CFGMR3InsertInteger(pCfg, "ShowRtc", fOsXGuest); RC_CHECK(); 2248 if (fOsXGuest && !llBootNics.empty()) 2251 2249 { 2252 2250 BootNic aNic = llBootNics.front();
Note:
See TracChangeset
for help on using the changeset viewer.