VirtualBox

Ignore:
Timestamp:
Jul 12, 2018 9:23:36 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123678
Message:

Added RT_FROM_MEMBER_DYN for use in cases like pic_poll_read.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevPIC.cpp

    r69500 r73101  
    581581static uint32_t pic_poll_read(PPICSTATE pPic, uint32_t addr1)
    582582{
    583     PDEVPIC pThis = RT_FROM_MEMBER(pPic, DEVPIC, aPics[pPic->idxPic]);
     583    PDEVPIC pThis = RT_FROM_MEMBER_DYN(pPic, DEVPIC, aPics[pPic->idxPic]);
    584584
    585585    int ret = pic_get_irq(pPic);
Note: See TracChangeset for help on using the changeset viewer.

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