VirtualBox

Changeset 91817 in vbox


Ignore:
Timestamp:
Oct 18, 2021 9:52:40 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147603
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

    r91815 r91817  
    557557                                    PCRTLOCKVALSRCPOS pSrcPos, bool fNoVal)
    558558#else
     559DECLASM(int) pdmCritSectRwEnterShared(PVMCC pVM, PPDMCRITSECTRW pThis, int rcBusy, bool fTryOnly,
     560                                      PCRTLOCKVALSRCPOS pSrcPos, bool fNoVal);
    559561DECLASM(int) StkBack_pdmCritSectRwEnterShared(PVMCC pVM, PPDMCRITSECTRW pThis, int rcBusy, bool fTryOnly,
    560562                                              PCRTLOCKVALSRCPOS pSrcPos, bool fNoVal)
     
    740742    /* not reached */
    741743}
    742 #if defined(VMM_R0_SWITCH_STACK) && defined(IN_RING0)
    743 decltype(StkBack_pdmCritSectRwEnterShared) pdmCritSectRwEnterShared;
    744 #endif
    745744
    746745
     
    13231322                                  PCRTLOCKVALSRCPOS pSrcPos, bool fNoVal)
    13241323#else
     1324DECLASM(int) pdmCritSectRwEnterExcl(PVMCC pVM, PPDMCRITSECTRW pThis, int rcBusy, bool fTryOnly,
     1325                                    PCRTLOCKVALSRCPOS pSrcPos, bool fNoVal);
    13251326DECLASM(int) StkBack_pdmCritSectRwEnterExcl(PVMCC pVM, PPDMCRITSECTRW pThis, int rcBusy, bool fTryOnly,
    13261327                                            PCRTLOCKVALSRCPOS pSrcPos, bool fNoVal)
     
    15381539#endif
    15391540}
    1540 #if defined(VMM_R0_SWITCH_STACK) && defined(IN_RING0)
    1541 decltype(StkBack_pdmCritSectRwEnterExcl) pdmCritSectRwEnterExcl;
    1542 #endif
    15431541
    15441542
     
    16981696static int pdmCritSectRwLeaveExclWorker(PVMCC pVM, PPDMCRITSECTRW pThis, bool fNoVal)
    16991697#else
     1698DECLASM(int) pdmCritSectRwLeaveExclWorker(PVMCC pVM, PPDMCRITSECTRW pThis, bool fNoVal);
    17001699DECLASM(int) StkBack_pdmCritSectRwLeaveExclWorker(PVMCC pVM, PPDMCRITSECTRW pThis, bool fNoVal)
    17011700#endif
     
    19331932#endif
    19341933}
    1935 #if defined(VMM_R0_SWITCH_STACK) && defined(IN_RING0)
    1936 decltype(StkBack_pdmCritSectRwLeaveExclWorker) pdmCritSectRwLeaveExclWorker;
    1937 #endif
    19381934
    19391935
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