From eeb2e93d2d0208136eba85352672f2cd3be21f3a Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Fri, 14 May 2010 20:15:25 +0000 Subject: [PATCH] [ARMDDK] - We don't really need ExiTryToAcquireFastMutex declaration here. [HAL] - Fix export for ExTryToAcquireFastMutex. On x86 builds it should forward to ntoskrnl's ExiTryToAcquireFastMutex, arm has it's own implementation. Patch by Timo. svn path=/branches/header-work/; revision=47204 --- hal/hal.pspec | 3 ++- include/reactos/arm/armddk.h | 6 ------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/hal/hal.pspec b/hal/hal.pspec index 74193047c28..3fff8370170 100644 --- a/hal/hal.pspec +++ b/hal/hal.pspec @@ -8,7 +8,8 @@ @ fastcall -arch=i386 ExAcquireFastMutex(ptr) ExiAcquireFastMutex @ fastcall -arch=i386 ExReleaseFastMutex(ptr) ExiReleaseFastMutex #endif -@ fastcall -arch=i386,arm ExTryToAcquireFastMutex(ptr) ExiTryToAcquireFastMutex +@ fastcall -arch=i386 ExTryToAcquireFastMutex(ptr) ntoskrnl.ExiTryToAcquireFastMutex +@ fastcall -arch=arm ExTryToAcquireFastMutex(ptr) @ fastcall HalClearSoftwareInterrupt(long) @ fastcall HalRequestSoftwareInterrupt(long) @ fastcall HalSystemVectorDispatchEntry(long long long) diff --git a/include/reactos/arm/armddk.h b/include/reactos/arm/armddk.h index bf3ddd60ae3..ad235b0b56b 100644 --- a/include/reactos/arm/armddk.h +++ b/include/reactos/arm/armddk.h @@ -206,12 +206,6 @@ extern volatile struct _KSYSTEM_TIME KeTickCount; #define RESULT_NEGATIVE 1 #define RESULT_POSITIVE 2 -DECLSPEC_IMPORT -BOOLEAN -__fastcall -ExiTryToAcquireFastMutex( - IN OUT PFAST_MUTEX FastMutex); - DECLSPEC_IMPORT VOID __fastcall