Changeset 43879 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Nov 15, 2012 2:49:23 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevSMC.cpp
r35353 r43879 237 237 * 238 238 * @returns VINF_SUCCESS. 239 * @param pvUser1Ignored Ignored. 240 * @param pvUser2Ignored Ignored. 241 */ 242 static DECLCALLBACK(int) devR0SmcInitOnce(void *pvUser1Ignored, void *pvUser2Ignored) 239 * @param pvUserIgnored Ignored. 240 */ 241 static DECLCALLBACK(int) devR0SmcInitOnce(void *pvUserIgnored) 243 242 { 244 243 g_fHaveOsk = devR0SmcQueryHostKey("OSK0", &g_abOsk0[0], sizeof(g_abOsk0)) 245 244 && devR0SmcQueryHostKey("OSK1", &g_abOsk1[0], sizeof(g_abOsk1)); 246 245 247 NOREF(pvUser 1Ignored); NOREF(pvUser2Ignored);246 NOREF(pvUserIgnored); 248 247 return VINF_SUCCESS; 249 248 } … … 259 258 if (uOperation == SMC_CALLR0_READ_OSK) 260 259 { 261 rc = RTOnce(&g_SmcR0Once, devR0SmcInitOnce, NULL , NULL);260 rc = RTOnce(&g_SmcR0Once, devR0SmcInitOnce, NULL); 262 261 if ( RT_SUCCESS(rc) 263 262 && g_fHaveOsk)
Note:
See TracChangeset
for help on using the changeset viewer.