VirtualBox

Changeset 55522 in vbox


Ignore:
Timestamp:
Apr 29, 2015 2:04:42 PM (9 years ago)
Author:
vboxsync
Message:

DevSmc: cosmetics

File:
1 edited

Legend:

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

    r55502 r55522  
    357357static RTONCE   g_SmcR0Once = RTONCE_INITIALIZER;
    358358/** Indicates whether we've successfully queried the OSK* keys. */
    359 static bool g_fHaveOsk = false;
     359static bool     g_fHaveOsk = false;
    360360/** The OSK0 and OSK1 values. */
    361361static uint8_t  g_abOsk0And1[32+32];
     
    14121412                                   N_("Configuration error: Querying \"DeviceKey\" as a string failed"));
    14131413
    1414     /* Query the key from the real hardware if asked to do so. */
     1414    /* Query the key from the OS / real hardware if asked to do so. */
    14151415    bool fGetKeyFromRealSMC;
    14161416    rc = CFGMR3QueryBoolDef(pCfg, "GetKeyFromRealSMC", &fGetKeyFromRealSMC, false);
     
    14241424        if (RT_FAILURE(rc))
    14251425        {
    1426             LogRel(("SMC: Retrieving the SMC key from OS failed, trying to read it from hardware\n"));
     1426            LogRel(("SMC: Retrieving the SMC key from the OS failed (%Rrc), trying to read it from hardware\n", rc));
    14271427#endif
    14281428            rc = PDMDevHlpCallR0(pDevIns, SMC_CALLR0_READ_OSK, 0 /*u64Arg*/);
     1429            if (RT_SUCCESS(rc))
     1430                LogRel(("SMC: Successfully retrieved the SMC key from hardware\n"));
     1431            else
     1432                LogRel(("SMC: Retrieving the SMC key from hardware failed(%Rrc)\n", rc));
    14291433#ifdef RT_OS_DARWIN
    14301434        }
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