Changeset 43234 in vbox
- Timestamp:
- Sep 6, 2012 9:40:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/Nvram.cpp
r43157 r43234 1 1 /* $Id$ */ 2 3 2 /** @file 4 * VBox NVRAM COM Class implementation 3 * VBox NVRAM COM Class implementation. 5 4 */ 6 5 … … 129 128 } 130 129 130 131 131 /** 132 132 * @interface_method_impl(PDMINVRAM,pfnFlushNvramStorage) … … 137 137 LogFlowFuncEnter(); 138 138 PNVRAM pThis = RT_FROM_MEMBER(pInterface, NVRAM, INvram); 139 int idxVariable = 0; 140 for (idxVariable = 0; idxVariable < pThis->cLoadedVariables; ++idxVariable) 139 for (int idxVariable = 0; idxVariable < pThis->cLoadedVariables; ++idxVariable) 141 140 { 142 141 drvNvram_pfnStoreNvramValue(pInterface, idxVariable, NULL, NULL, 0, NULL, 0); … … 145 144 return rc; 146 145 } 146 147 147 148 148 /** … … 201 201 * @interface_method_impl(PDMIBASE,pfnQueryInterface) 202 202 */ 203 DECLCALLBACK(void *) Nvram::drvNvram_QueryInterface(PPDMIBASE pInterface, const char *pszIID)203 DECLCALLBACK(void *) Nvram::drvNvram_QueryInterface(PPDMIBASE pInterface, const char *pszIID) 204 204 { 205 205 LogFlow(("%s pInterface:%p, pszIID:%s\n", __FUNCTION__, pInterface, pszIID)); … … 211 211 return NULL; 212 212 } 213 214 215 /** 216 * @interface_method_impl(PDMDRVREG,pfnDestruct) 217 */ 218 DECLCALLBACK(void) Nvram::drvNvram_Destruct(PPDMDRVINS pDrvIns) 219 { 220 LogFlow(("%s: iInstance/#d\n", __FUNCTION__, pDrvIns->iInstance)); 221 PNVRAM pThis = PDMINS_2_DATA(pDrvIns, PNVRAM); 222 } 223 213 224 214 225 /** … … 239 250 } 240 251 241 /**242 * @interface_method_impl(PDMDRVREG,pfnDestruct)243 */244 DECLCALLBACK(void) Nvram::drvNvram_Destruct(PPDMDRVINS pDrvIns)245 {246 LogFlow(("%s: iInstance/#d\n", __FUNCTION__, pDrvIns->iInstance));247 PNVRAM pThis = PDMINS_2_DATA(pDrvIns, PNVRAM);248 }249 252 250 253 const PDMDRVREG Nvram::DrvReg =
Note:
See TracChangeset
for help on using the changeset viewer.