Changeset 10202 in vbox for trunk/src/VBox/VMM/PDMInternal.h
- Timestamp:
- Jul 4, 2008 7:25:27 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMInternal.h
r9387 r10202 850 850 /** @} */ 851 851 852 #ifdef VBOX_WITH_PDM_LOCK853 852 /** The PDM lock. 854 853 * This is used to protect everything that deals with interrupts, i.e. 855 854 * the PIC, APIC, IOAPIC and PCI devices pluss some PDM functions. */ 856 855 PDMCRITSECT CritSect; 857 #endif858 859 856 860 857 /** Number of times a critical section leave requesed needed to be queued for ring-3 execution. */ … … 940 937 #endif /* IN_RING3 */ 941 938 942 #ifdef VBOX_WITH_PDM_LOCK943 939 void pdmLock(PVM pVM); 944 940 int pdmLockEx(PVM pVM, int rc); 945 941 void pdmUnlock(PVM pVM); 946 #else947 # define pdmLock(pVM) do {} while (0)948 # define pdmLockEx(pVM, rc) (VINF_SUCCESS)949 # define pdmUnlock(pVM) do {} while (0)950 #endif951 942 952 943 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.