- Timestamp:
- Oct 18, 2021 9:43:28 AM (3 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PDMAllCritSectRw.cpp
r90940 r91812 548 548 * @param fNoVal No validation records. 549 549 */ 550 #ifndef VMM_R0_SWITCH_STACK 550 551 static int pdmCritSectRwEnterShared(PVMCC pVM, PPDMCRITSECTRW pThis, int rcBusy, bool fTryOnly, 551 552 PCRTLOCKVALSRCPOS pSrcPos, bool fNoVal) 553 #else 554 DECLASM(int) StkBack_pdmCritSectRwEnterShared(PVMCC pVM, PPDMCRITSECTRW pThis, int rcBusy, bool fTryOnly, 555 PCRTLOCKVALSRCPOS pSrcPos, bool fNoVal) 556 #endif 552 557 { 553 558 /* … … 730 735 /* not reached */ 731 736 } 737 #ifdef VMM_R0_SWITCH_STACK 738 decltype(StkBack_pdmCritSectRwEnterShared) pdmCritSectRwEnterShared; 739 #endif 732 740 733 741 … … 884 892 * PDMCritSectRwLeaveExcl, RTCritSectRwLeaveShared. 885 893 */ 894 #ifndef VMM_R0_SWITCH_STACK 886 895 static int pdmCritSectRwLeaveSharedWorker(PVMCC pVM, PPDMCRITSECTRW pThis, bool fNoVal) 896 #else 897 DECLASM(int) StkBack_pdmCritSectRwLeaveSharedWorker(PVMCC pVM, PPDMCRITSECTRW pThis, bool fNoVal) 898 #endif 887 899 { 888 900 /* … … 1039 1051 return VINF_SUCCESS; 1040 1052 } 1053 #ifdef VMM_R0_SWITCH_STACK 1054 decltype(StkBack_pdmCritSectRwLeaveSharedWorker) pdmCritSectRwLeaveSharedWorker; 1055 #endif 1041 1056 1042 1057 … … 1302 1317 * @param fNoVal No validation records. 1303 1318 */ 1319 #ifndef VMM_R0_SWITCH_STACK 1304 1320 static int pdmCritSectRwEnterExcl(PVMCC pVM, PPDMCRITSECTRW pThis, int rcBusy, bool fTryOnly, 1305 1321 PCRTLOCKVALSRCPOS pSrcPos, bool fNoVal) 1322 #else 1323 DECLASM(int) StkBack_pdmCritSectRwEnterExcl(PVMCC pVM, PPDMCRITSECTRW pThis, int rcBusy, bool fTryOnly, 1324 PCRTLOCKVALSRCPOS pSrcPos, bool fNoVal) 1325 #endif 1306 1326 { 1307 1327 /* … … 1516 1536 #endif 1517 1537 } 1538 #ifdef VMM_R0_SWITCH_STACK 1539 decltype(StkBack_pdmCritSectRwEnterExcl) pdmCritSectRwEnterExcl; 1540 #endif 1518 1541 1519 1542 … … 1670 1693 * @sa PDMCritSectRwLeaveShared, RTCritSectRwLeaveExcl. 1671 1694 */ 1695 #ifndef VMM_R0_SWITCH_STACK 1672 1696 static int pdmCritSectRwLeaveExclWorker(PVMCC pVM, PPDMCRITSECTRW pThis, bool fNoVal) 1697 #else 1698 DECLASM(int) StkBack_pdmCritSectRwLeaveExclWorker(PVMCC pVM, PPDMCRITSECTRW pThis, bool fNoVal) 1699 #endif 1673 1700 { 1674 1701 /* … … 1904 1931 #endif 1905 1932 } 1933 #ifdef VMM_R0_SWITCH_STACK 1934 decltype(StkBack_pdmCritSectRwLeaveExclWorker) pdmCritSectRwLeaveExclWorker; 1935 #endif 1906 1936 1907 1937 -
trunk/src/VBox/VMM/VMMR0/VMMR0StackBack-darwin.asm
r91810 r91812 27 27 SUPR0StackWrapperGeneric pdmR0CritSectEnterContendedOnKrnlStk, 6 28 28 SUPR0StackWrapperGeneric pdmR0CritSectLeaveSignallingOnKrnlStk, 5 29 SUPR0StackWrapperGeneric pdmCritSectRwEnterShared, 6 30 SUPR0StackWrapperGeneric pdmCritSectRwLeaveSharedWorker, 3 31 SUPR0StackWrapperGeneric pdmCritSectRwEnterExcl, 6 32 SUPR0StackWrapperGeneric pdmCritSectRwLeaveExclWorker, 6 29 33
Note:
See TracChangeset
for help on using the changeset viewer.