VirtualBox

Changeset 11168 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 6, 2008 12:29:24 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
34159
Message:

#1865: DevIchAc97 and DevSB16.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevSB16.cpp

    r11167 r11168  
    282282static DECLCALLBACK(void) sb16Timer(PPDMDEVINS pDevIns, PTMTIMER pTimer)
    283283{
    284     SB16State *s = PDMINS2DATA(pDevIns, SB16State *);
     284    SB16State *s = PDMINS_2_DATA(pDevIns, SB16State *);
    285285    s->can_write = 1;
    286286    PDMDevHlpISASetIrq(s->pDevIns, s->irq, 1);
     
    14831483static DECLCALLBACK(int) SaveExec (PPDMDEVINS pDevIns, PSSMHANDLE pSSMHandle)
    14841484{
    1485     SB16State *s = PDMINS2DATA (pDevIns, SB16State *);
     1485    SB16State *s = PDMINS_2_DATA (pDevIns, SB16State *);
    14861486    QEMUFile *f = pSSMHandle;
    14871487#endif
     
    15521552                                   uint32_t u32Version)
    15531553{
    1554     SB16State *s = PDMINS2DATA (pDevIns, SB16State *);
     1554    SB16State *s = PDMINS_2_DATA (pDevIns, SB16State *);
    15551555    QEMUFile *f = pSSMHandle;
    15561556
     
    17271727static DECLCALLBACK(int) sb16Construct (PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfgHandle)
    17281728{
    1729     SB16State *s = PDMINS2DATA(pDevIns, SB16State *);
     1729    SB16State *s = PDMINS_2_DATA(pDevIns, SB16State *);
    17301730    int rc;
    17311731
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette