Changeset 91813 in vbox
- Timestamp:
- Oct 18, 2021 9:45:16 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 147599
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PDMAllCritSectRw.cpp
r91812 r91813 548 548 * @param fNoVal No validation records. 549 549 */ 550 #if ndef VMM_R0_SWITCH_STACK550 #if !defined(VMM_R0_SWITCH_STACK) || !defined(IN_RING0) 551 551 static int pdmCritSectRwEnterShared(PVMCC pVM, PPDMCRITSECTRW pThis, int rcBusy, bool fTryOnly, 552 552 PCRTLOCKVALSRCPOS pSrcPos, bool fNoVal) … … 735 735 /* not reached */ 736 736 } 737 #if def VMM_R0_SWITCH_STACK737 #if defined(VMM_R0_SWITCH_STACK) && defined(IN_RING0) 738 738 decltype(StkBack_pdmCritSectRwEnterShared) pdmCritSectRwEnterShared; 739 739 #endif … … 892 892 * PDMCritSectRwLeaveExcl, RTCritSectRwLeaveShared. 893 893 */ 894 #if ndef VMM_R0_SWITCH_STACK894 #if !defined(VMM_R0_SWITCH_STACK) || !defined(IN_RING0) 895 895 static int pdmCritSectRwLeaveSharedWorker(PVMCC pVM, PPDMCRITSECTRW pThis, bool fNoVal) 896 896 #else … … 1051 1051 return VINF_SUCCESS; 1052 1052 } 1053 #if def VMM_R0_SWITCH_STACK1053 #if defined(VMM_R0_SWITCH_STACK) && defined(IN_RING0) 1054 1054 decltype(StkBack_pdmCritSectRwLeaveSharedWorker) pdmCritSectRwLeaveSharedWorker; 1055 1055 #endif … … 1317 1317 * @param fNoVal No validation records. 1318 1318 */ 1319 #if ndef VMM_R0_SWITCH_STACK1319 #if !defined(VMM_R0_SWITCH_STACK) || !defined(IN_RING0) 1320 1320 static int pdmCritSectRwEnterExcl(PVMCC pVM, PPDMCRITSECTRW pThis, int rcBusy, bool fTryOnly, 1321 1321 PCRTLOCKVALSRCPOS pSrcPos, bool fNoVal) … … 1536 1536 #endif 1537 1537 } 1538 #if def VMM_R0_SWITCH_STACK1538 #if defined(VMM_R0_SWITCH_STACK) && defined(IN_RING0) 1539 1539 decltype(StkBack_pdmCritSectRwEnterExcl) pdmCritSectRwEnterExcl; 1540 1540 #endif … … 1693 1693 * @sa PDMCritSectRwLeaveShared, RTCritSectRwLeaveExcl. 1694 1694 */ 1695 #if ndef VMM_R0_SWITCH_STACK1695 #if !defined(VMM_R0_SWITCH_STACK) || !defined(IN_RING0) 1696 1696 static int pdmCritSectRwLeaveExclWorker(PVMCC pVM, PPDMCRITSECTRW pThis, bool fNoVal) 1697 1697 #else … … 1931 1931 #endif 1932 1932 } 1933 #if def VMM_R0_SWITCH_STACK1933 #if defined(VMM_R0_SWITCH_STACK) && defined(IN_RING0) 1934 1934 decltype(StkBack_pdmCritSectRwLeaveExclWorker) pdmCritSectRwLeaveExclWorker; 1935 1935 #endif
Note:
See TracChangeset
for help on using the changeset viewer.