Changeset 81591 in vbox for trunk/src/VBox/Devices/Audio/DevSB16.cpp
- Timestamp:
- Oct 30, 2019 2:14:10 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevSB16.cpp
r80704 r81591 1677 1677 RT_NOREF(pDevIns); 1678 1678 PSB16STATE pThis = (PSB16STATE)pvUser; 1679 Assert(pThis == PDM INS_2_DATA(pDevIns, PSB16STATE));1679 Assert(pThis == PDMDEVINS_2_DATA(pDevIns, PSB16STATE)); 1680 1680 AssertPtr(pThis); 1681 1681 … … 1750 1750 { 1751 1751 RT_NOREF(uPass); 1752 PSB16STATE pThis = PDM INS_2_DATA(pDevIns, PSB16STATE);1752 PSB16STATE pThis = PDMDEVINS_2_DATA(pDevIns, PSB16STATE); 1753 1753 1754 1754 SSMR3PutS32(pSSM, pThis->irqCfg); … … 1821 1821 static DECLCALLBACK(int) sb16SaveExec(PPDMDEVINS pDevIns, PSSMHANDLE pSSM) 1822 1822 { 1823 PSB16STATE pThis = PDM INS_2_DATA(pDevIns, PSB16STATE);1823 PSB16STATE pThis = PDMDEVINS_2_DATA(pDevIns, PSB16STATE); 1824 1824 1825 1825 sb16LiveExec(pDevIns, pSSM, 0); … … 1904 1904 static DECLCALLBACK(int) sb16LoadExec(PPDMDEVINS pDevIns, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass) 1905 1905 { 1906 PSB16STATE pThis = PDM INS_2_DATA(pDevIns, PSB16STATE);1906 PSB16STATE pThis = PDMDEVINS_2_DATA(pDevIns, PSB16STATE); 1907 1907 1908 1908 AssertMsgReturn( uVersion == SB16_SAVE_STATE_VERSION … … 2218 2218 static DECLCALLBACK(int) sb16Attach(PPDMDEVINS pDevIns, unsigned uLUN, uint32_t fFlags) 2219 2219 { 2220 PSB16STATE pThis = PDM INS_2_DATA(pDevIns, PSB16STATE);2220 PSB16STATE pThis = PDMDEVINS_2_DATA(pDevIns, PSB16STATE); 2221 2221 2222 2222 LogFunc(("uLUN=%u, fFlags=0x%x\n", uLUN, fFlags)); … … 2235 2235 static DECLCALLBACK(void) sb16Detach(PPDMDEVINS pDevIns, unsigned uLUN, uint32_t fFlags) 2236 2236 { 2237 PSB16STATE pThis = PDM INS_2_DATA(pDevIns, PSB16STATE);2237 PSB16STATE pThis = PDMDEVINS_2_DATA(pDevIns, PSB16STATE); 2238 2238 2239 2239 LogFunc(("uLUN=%u, fFlags=0x%x\n", uLUN, fFlags)); … … 2334 2334 static DECLCALLBACK(void) sb16DevReset(PPDMDEVINS pDevIns) 2335 2335 { 2336 PSB16STATE pThis = PDM INS_2_DATA(pDevIns, PSB16STATE);2336 PSB16STATE pThis = PDMDEVINS_2_DATA(pDevIns, PSB16STATE); 2337 2337 2338 2338 /* Bring back the device to initial state, and especially make … … 2369 2369 static DECLCALLBACK(void) sb16PowerOff(PPDMDEVINS pDevIns) 2370 2370 { 2371 PSB16STATE pThis = PDM INS_2_DATA(pDevIns, PSB16STATE);2371 PSB16STATE pThis = PDMDEVINS_2_DATA(pDevIns, PSB16STATE); 2372 2372 2373 2373 LogRel2(("SB16: Powering off ...\n")); … … 2384 2384 { 2385 2385 PDMDEV_CHECK_VERSIONS_RETURN_QUIET(pDevIns); /* this shall come first */ 2386 PSB16STATE pThis = PDM INS_2_DATA(pDevIns, PSB16STATE);2386 PSB16STATE pThis = PDMDEVINS_2_DATA(pDevIns, PSB16STATE); 2387 2387 2388 2388 LogFlowFuncEnter(); … … 2404 2404 RT_NOREF(iInstance); 2405 2405 PDMDEV_CHECK_VERSIONS_RETURN(pDevIns); /* this shall come first */ 2406 PSB16STATE pThis = PDM INS_2_DATA(pDevIns, PSB16STATE);2406 PSB16STATE pThis = PDMDEVINS_2_DATA(pDevIns, PSB16STATE); 2407 2407 2408 2408 /*
Note:
See TracChangeset
for help on using the changeset viewer.