[ARMDDK]
authorAmine Khaldi <amine.khaldi@reactos.org>
Fri, 14 May 2010 20:15:25 +0000 (20:15 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Fri, 14 May 2010 20:15:25 +0000 (20:15 +0000)
- 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
include/reactos/arm/armddk.h

index 7419304..3fff837 100644 (file)
@@ -8,7 +8,8 @@
 @ fastcall -arch=i386 ExAcquireFastMutex(ptr) ExiAcquireFastMutex
 @ fastcall -arch=i386 ExReleaseFastMutex(ptr) ExiReleaseFastMutex
 #endif
 @ 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)
 @ fastcall HalClearSoftwareInterrupt(long)
 @ fastcall HalRequestSoftwareInterrupt(long)
 @ fastcall HalSystemVectorDispatchEntry(long long long)
index bf3ddd6..ad235b0 100644 (file)
@@ -206,12 +206,6 @@ extern volatile struct _KSYSTEM_TIME KeTickCount;
 #define RESULT_NEGATIVE 1
 #define RESULT_POSITIVE 2
 
 #define RESULT_NEGATIVE 1
 #define RESULT_POSITIVE 2
 
-DECLSPEC_IMPORT
-BOOLEAN
-__fastcall
-ExiTryToAcquireFastMutex(
-    IN OUT PFAST_MUTEX FastMutex);
-
 DECLSPEC_IMPORT
 VOID
 __fastcall
 DECLSPEC_IMPORT
 VOID
 __fastcall