- Timestamp:
- Sep 11, 2015 11:49:07 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/DevEFI.cpp
r57358 r57713 1809 1809 1810 1810 /** 1811 * @interface_method_impl{PDMDEVREG,pfnPowerOff} 1812 */ 1813 static DECLCALLBACK(void) efiPowerOff(PPDMDEVINS pDevIns) 1814 { 1815 PDEVEFI pThis = PDMINS_2_DATA(pDevIns, PDEVEFI); 1816 1817 if (pThis->Lun0.pNvramDrv) 1818 nvramStore(pThis); 1819 } 1820 1821 1822 1823 /** 1811 1824 * Destruct a device instance. 1812 1825 * … … 1821 1834 PDMDEV_CHECK_VERSIONS_RETURN_QUIET(pDevIns); 1822 1835 1823 if (pThis->Lun0.pNvramDrv)1824 nvramStore(pThis);1825 1836 nvramFlushDeviceVariableList(pThis); 1826 1837 … … 2368 2379 efiInitComplete, 2369 2380 /* pfnPowerOff */ 2370 NULL,2381 efiPowerOff, 2371 2382 /* pfnSoftReset */ 2372 2383 NULL,
Note:
See TracChangeset
for help on using the changeset viewer.