Changeset 55522 in vbox
- Timestamp:
- Apr 29, 2015 2:04:42 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Devices/EFI/DevSmc.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/DevSmc.cpp
r55502 r55522 357 357 static RTONCE g_SmcR0Once = RTONCE_INITIALIZER; 358 358 /** Indicates whether we've successfully queried the OSK* keys. */ 359 static bool g_fHaveOsk = false;359 static bool g_fHaveOsk = false; 360 360 /** The OSK0 and OSK1 values. */ 361 361 static uint8_t g_abOsk0And1[32+32]; … … 1412 1412 N_("Configuration error: Querying \"DeviceKey\" as a string failed")); 1413 1413 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. */ 1415 1415 bool fGetKeyFromRealSMC; 1416 1416 rc = CFGMR3QueryBoolDef(pCfg, "GetKeyFromRealSMC", &fGetKeyFromRealSMC, false); … … 1424 1424 if (RT_FAILURE(rc)) 1425 1425 { 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)); 1427 1427 #endif 1428 1428 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)); 1429 1433 #ifdef RT_OS_DARWIN 1430 1434 }
Note:
See TracChangeset
for help on using the changeset viewer.

