VirtualBox

Changeset 82123 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Nov 23, 2019 12:07:52 AM (5 years ago)
Author:
vboxsync
Message:

DevParallel: Split structure. Set new_style flag. [grr] bugref:9218

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Parallel/DevParallel.cpp

    r82122 r82123  
    321321    PPARALLELPORT   pThis   = PDMDEVINS_2_DATA(pDevIns, PPARALLELPORT);
    322322#ifdef IN_RING3
    323     PPARALLELPORTR3 pThisCC = PDMDEVINS_2_DATA(pDevIns, PPARALLELPORTR3);
     323    PPARALLELPORTR3 pThisCC = PDMDEVINS_2_DATA_CC(pDevIns, PPARALLELPORTR3);
    324324#endif
    325325    VBOXSTRICTRC      rc    = VINF_SUCCESS;
     
    432432    PPARALLELPORT   pThis   = PDMDEVINS_2_DATA(pDevIns, PPARALLELPORT);
    433433#ifdef IN_RING3
    434     PPARALLELPORTR3 pThisCC = PDMDEVINS_2_DATA(pDevIns, PPARALLELPORTR3);
     434    PPARALLELPORTR3 pThisCC = PDMDEVINS_2_DATA_CC(pDevIns, PPARALLELPORTR3);
    435435#endif
    436436    VBOXSTRICTRC    rc      = VINF_SUCCESS;
     
    663663    PDMDEV_CHECK_VERSIONS_RETURN(pDevIns);
    664664    PPARALLELPORT   pThis   = PDMDEVINS_2_DATA(pDevIns, PPARALLELPORT);
    665     PPARALLELPORTR3 pThisCC = PDMDEVINS_2_DATA(pDevIns, PPARALLELPORTR3);
     665    PPARALLELPORTR3 pThisCC = PDMDEVINS_2_DATA_CC(pDevIns, PPARALLELPORTR3);
    666666    PCPDMDEVHLPR3   pHlp    = pDevIns->pHlpR3;
    667667    int             rc;
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