VirtualBox

Changeset 81554 in vbox


Ignore:
Timestamp:
Oct 25, 2019 10:39:54 PM (5 years ago)
Author:
vboxsync
Message:

DevOHCI: Simplified the [P]OHCICC typedefs. bugref:9218

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/DevOHCI.cpp

    r81550 r81554  
    453453
    454454
    455 /** @typedef RTCSTATECC
     455/** @typedef OHCICC
    456456 * The instance data for the current context. */
    457 /** @typedef PRTCSTATECC
     457typedef CTX_SUFF(OHCI) OHCICC;
     458/** @typedef POHCICC
    458459 * Pointer to the instance data for the current context. */
    459 #ifdef IN_RING3
    460 typedef  OHCIR3  OHCICC;
    461 typedef POHCIR3 POHCICC;
    462 #elif defined(IN_RING0)
    463 typedef  OHCIR0  OHCICC;
    464 typedef POHCIR0 POHCICC;
    465 #elif defined(IN_RC)
    466 typedef  OHCIRC  OHCICC;
    467 typedef POHCIRC POHCICC;
    468 #else
    469 # error "Not IN_RING3, IN_RING0 or IN_RC"
    470 #endif
     460typedef CTX_SUFF(POHCI) POHCICC;
    471461
    472462
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