VirtualBox

Changeset 91814 in vbox for trunk


Ignore:
Timestamp:
Oct 18, 2021 9:46:39 AM (3 years ago)
Author:
vboxsync
Message:

VMM/PDMCritSectRw: Don't preempt while on custom stack. [build fix] bugref:10124

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PDMAllCritSectRw.cpp

    r91813 r91814  
    101101*   Internal Functions                                                                                                           *
    102102*********************************************************************************************************************************/
     103#if !defined(VMM_R0_SWITCH_STACK) || !defined(IN_RING0)
    103104static int pdmCritSectRwLeaveSharedWorker(PVMCC pVM, PPDMCRITSECTRW pThis, bool fNoVal);
     105#else
     106DECLASM(int) pdmCritSectRwLeaveSharedWorker(PVMCC pVM, PPDMCRITSECTRW pThis, bool fNoVal);
     107decltype(pdmCritSectRwLeaveSharedWorker) StkBack_pdmCritSectRwLeaveSharedWorker;
     108#endif
    104109
    105110
     
    10511056    return VINF_SUCCESS;
    10521057}
    1053 #if defined(VMM_R0_SWITCH_STACK) && defined(IN_RING0)
    1054 decltype(StkBack_pdmCritSectRwLeaveSharedWorker) pdmCritSectRwLeaveSharedWorker;
    1055 #endif
    10561058
    10571059
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