VirtualBox

Changeset 28580 in vbox


Ignore:
Timestamp:
Apr 22, 2010 7:21:06 AM (15 years ago)
Author:
vboxsync
Message:

review feedback

Location:
trunk/src/VBox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/DevEFI.cpp

    r28569 r28580  
    10121012#endif
    10131013                              "DmiUseHostInfo\0"
    1014                               "DmiExposeAdditionalTables\0"
     1014                              "DmiExposeMemoryTable\0"
    10151015                              "64BitEntry\0"
    10161016                              "BootArgs\0"
  • trunk/src/VBox/Devices/PC/DevFwCommon.cpp

    r28569 r28580  
    511511        fwCommonUseHostDMIStrings();
    512512
    513     uint8_t fDmiExposeAdditionalTables;
    514     rc = CFGMR3QueryU8Def(pCfg, "DmiExposeAdditionalTables", &fDmiExposeAdditionalTables, 0);
     513    uint8_t fDmiExposeMemoryTable;
     514    rc = CFGMR3QueryU8Def(pCfg, "DmiExposeMemoryTable", &fDmiExposeMemoryTable, 0);
    515515    if (RT_FAILURE (rc))
    516516        return PDMDEV_SET_ERROR(pDevIns, rc,
    517                                 N_("Configuration error: Failed to read \"DmiExposeAdditionalTables\""));
     517                                N_("Configuration error: Failed to read \"DmiExposeMemoryTable\""));
    518518
    519519    for  (;; fForceDefault = true, fHideErrors = false)
     
    677677        TERM_STRUCT;
    678678
    679         if (fDmiExposeAdditionalTables)
     679        if (fDmiExposeMemoryTable)
    680680        {
    681681            /***************************************
  • trunk/src/VBox/Devices/PC/DevPcBios.cpp

    r28569 r28580  
    948948#endif
    949949                              "DmiUseHostInfo\0"
    950                               "DmiExposeAdditionalTables\0"
     950                              "DmiExposeMemoryTable\0"
    951951                              ))
    952952        return PDMDEV_SET_ERROR(pDevIns, VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES,
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r28569 r28580  
    674674     * Enable 3 following devices: HPET, SMC, LPC on MacOS X guests
    675675     */
    676     BOOL fExtProfile = fOsXGuest;
    677 
    678676    /*
    679677     * High Precision Event Timer (HPET)
     
    684682    hrc = pMachine->COMGETTER(HpetEnabled)(&fHpetEnabled);                          H();
    685683    /* so always enable HPET in extended profile */
    686     fHpetEnabled |= fExtProfile;
     684    fHpetEnabled |= fOsXGuest;
    687685#else
    688686    fHpetEnabled = false;
     
    700698    BOOL fSmcEnabled;
    701699#ifdef VBOX_WITH_SMC
    702     fSmcEnabled = fExtProfile;
     700    fSmcEnabled = fOsXGuest;
    703701#else
    704702    fSmcEnabled = false;
     
    721719    /** @todo: implement appropriate getter */
    722720#ifdef VBOX_WITH_LPC
    723     fLpcEnabled = fExtProfile;
     721    fLpcEnabled = fOsXGuest;
    724722#else
    725723    fLpcEnabled = false;
     
    10441042
    10451043        /* For OS X guests we'll force passing host's DMI info to the guest */
    1046         if (fExtProfile)
     1044        if (fOsXGuest)
    10471045        {
    10481046            rc = CFGMR3InsertInteger(pCfg,  "DmiUseHostInfo", 1);                        RC_CHECK();
    1049             rc = CFGMR3InsertInteger(pCfg,  "DmiExposeAdditionalTables", 1);             RC_CHECK();
     1047            rc = CFGMR3InsertInteger(pCfg,  "DmiExposeMemoryTable", 1);                  RC_CHECK();
    10501048        }
    10511049    }
     
    22252223    {
    22262224        BOOL fCpuHotPlug = false;
    2227         BOOL fShowCpu = fExtProfile;
     2225        BOOL fShowCpu = fOsXGuest;
    22282226        /* Always show the CPU leafs when we have multiple VCPUs or when the IO-APIC is enabled.
    22292227         * The Windows SMP kernel needs a CPU leaf or else its idle loop will burn cpu cycles; the
     
    22472245        rc = CFGMR3InsertInteger(pCfg,  "HpetEnabled", fHpetEnabled);               RC_CHECK();
    22482246        rc = CFGMR3InsertInteger(pCfg,  "SmcEnabled", fSmcEnabled);                 RC_CHECK();
    2249         rc = CFGMR3InsertInteger(pCfg,  "ShowRtc",    fExtProfile);                 RC_CHECK();
    2250         if (fExtProfile && !llBootNics.empty())
     2247        rc = CFGMR3InsertInteger(pCfg,  "ShowRtc",    fOsXGuest);                   RC_CHECK();
     2248        if (fOsXGuest && !llBootNics.empty())
    22512249        {
    22522250            BootNic aNic = llBootNics.front();
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette