diff options
Diffstat (limited to 'src/VBox/HostDrivers/Support/SUPDrv.c')
-rw-r--r-- | src/VBox/HostDrivers/Support/SUPDrv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/VBox/HostDrivers/Support/SUPDrv.c b/src/VBox/HostDrivers/Support/SUPDrv.c index be03bba71..e8dfab7b7 100644 --- a/src/VBox/HostDrivers/Support/SUPDrv.c +++ b/src/VBox/HostDrivers/Support/SUPDrv.c @@ -1,4 +1,4 @@ -/* $Revision: 51674 $ */ +/* $Revision: 53866 $ */ /** @file * VBoxDrv - The VirtualBox Support Driver - Common code. */ @@ -260,7 +260,7 @@ DECLASM(int) UNWIND_WRAP(RTThreadUserWaitNoResume)(RTTHREAD Thread, unsigned /* RTThreadPreemptIsEnabled - not necessary */ /* RTThreadPreemptIsPending - not necessary */ /* RTThreadPreemptIsPendingTrusty - not necessary */ -/* RTThreadPreemptDisable - not necessary */ +DECLASM(void) UNWIND_WRAP(RTThreadPreemptDisable)(RTTHREADPREEMPTSTATE pState); DECLASM(void) UNWIND_WRAP(RTThreadPreemptRestore)(RTTHREADPREEMPTSTATE pState); /* RTLogDefaultInstance - a bit of a gamble, but we do not want the overhead! */ /* RTMpCpuId - not necessary */ @@ -421,7 +421,7 @@ static SUPFUNC g_aFunctions[] = { "RTThreadPreemptIsEnabled", (void *)RTThreadPreemptIsEnabled }, { "RTThreadPreemptIsPending", (void *)RTThreadPreemptIsPending }, { "RTThreadPreemptIsPendingTrusty", (void *)RTThreadPreemptIsPendingTrusty }, - { "RTThreadPreemptDisable", (void *)RTThreadPreemptDisable }, + { "RTThreadPreemptDisable", (void *)UNWIND_WRAP(RTThreadPreemptDisable) }, { "RTThreadPreemptRestore", (void *)UNWIND_WRAP(RTThreadPreemptRestore) }, { "RTLogDefaultInstance", (void *)RTLogDefaultInstance }, |