VirtualBox

Changeset 10202 in vbox for trunk/src/VBox/VMM/PDMInternal.h


Ignore:
Timestamp:
Jul 4, 2008 7:25:27 AM (16 years ago)
Author:
vboxsync
Message:

removed VBOX_WITH_PDM_LOCK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMInternal.h

    r9387 r10202  
    850850    /** @} */
    851851
    852 #ifdef VBOX_WITH_PDM_LOCK
    853852    /** The PDM lock.
    854853     * This is used to protect everything that deals with interrupts, i.e.
    855854     * the PIC, APIC, IOAPIC and PCI devices pluss some PDM functions. */
    856855    PDMCRITSECT                     CritSect;
    857 #endif
    858 
    859856
    860857    /** Number of times a critical section leave requesed needed to be queued for ring-3 execution. */
     
    940937#endif /* IN_RING3 */
    941938
    942 #ifdef VBOX_WITH_PDM_LOCK
    943939void        pdmLock(PVM pVM);
    944940int         pdmLockEx(PVM pVM, int rc);
    945941void        pdmUnlock(PVM pVM);
    946 #else
    947 # define pdmLock(pVM)       do {} while (0)
    948 # define pdmLockEx(pVM, rc) (VINF_SUCCESS)
    949 # define pdmUnlock(pVM)     do {} while (0)
    950 #endif
    951942
    952943/** @} */
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