VirtualBox

Changeset 24022 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 23, 2009 11:31:34 AM (15 years ago)
Author:
vboxsync
Message:

Wrap RTThreadPreemptDisable

Location:
trunk/src/VBox/HostDrivers/Support
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.c

    r23728 r24022  
    228228/* RTThreadPreemptIsPending - not necessary */
    229229/* RTThreadPreemptIsPendingTrusty - not necessary */
    230 /* RTThreadPreemptDisable - not necessary */
     230DECLASM(void)   UNWIND_WRAP(RTThreadPreemptDisable)(PRTTHREADPREEMPTSTATE pState);
    231231DECLASM(void)   UNWIND_WRAP(RTThreadPreemptRestore)(RTTHREADPREEMPTSTATE pState);
    232232/* RTLogDefaultInstance   - a bit of a gamble, but we do not want the overhead! */
     
    395395    { "RTThreadPreemptIsPendingTrusty",         (void *)RTThreadPreemptIsPendingTrusty },
    396396    { "RTThreadPreemptIsPossible",              (void *)RTThreadPreemptIsPossible },
    397     { "RTThreadPreemptDisable",                 (void *)RTThreadPreemptDisable },
     397    { "RTThreadPreemptDisable",                 (void *)UNWIND_WRAP(RTThreadPreemptDisable) },
    398398    { "RTThreadPreemptRestore",                 (void *)UNWIND_WRAP(RTThreadPreemptRestore) },
    399399    { "RTThreadIsInInterrupt",                  (void *)RTThreadIsInInterrupt },
  • trunk/src/VBox/HostDrivers/Support/win/SUPDrvA-win.asm

    r23610 r24022  
    162162;NtWrapDyn2DrvFunctionWithAllRegParams  supdrvNtWrap, RTThreadPreemptIsPending - not necessary
    163163;NtWrapDyn2DrvFunctionWithAllRegParams  supdrvNtWrap, RTThreadPreemptIsPendingTrusty - not necessary
    164 ;NtWrapDyn2DrvFunctionWithAllRegParams  supdrvNtWrap, RTThreadPreemptDisable - not necessary
     164NtWrapDyn2DrvFunctionWithAllRegParams  supdrvNtWrap, RTThreadPreemptDisable
    165165NtWrapDyn2DrvFunctionWithAllRegParams  supdrvNtWrap, RTThreadPreemptRestore
    166166;NtWrapDyn2DrvFunctionWithAllRegParams  supdrvNtWrap, RTLogDefaultInstance   - a bit of a gamble, but we do not want the overhead!
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