[ros-diffs] [ros-arm-bringup] 41914: Don't export the HAL drive letter assignment functions on ARM The fast mutex functions are in the HAL on non-x86 builds, so don't forward them back to ntos

ros-arm-bringup at svn.reactos.org ros-arm-bringup at svn.reactos.org
Sun Jul 12 12:39:59 CEST 2009


Author: ros-arm-bringup
Date: Sun Jul 12 14:39:58 2009
New Revision: 41914

URL: http://svn.reactos.org/svn/reactos?rev=41914&view=rev
Log:
Don't export the HAL drive letter assignment functions on ARM
The fast mutex functions are in the HAL on non-x86 builds, so don't forward them back to ntos

Modified:
    trunk/reactos/hal/hal/hal.pspec

Modified: trunk/reactos/hal/hal/hal.pspec
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/hal/hal/hal.pspec?rev=41914&r1=41913&r2=41914&view=diff
==============================================================================
--- trunk/reactos/hal/hal/hal.pspec [iso-8859-1] (original)
+++ trunk/reactos/hal/hal/hal.pspec [iso-8859-1] Sun Jul 12 14:39:58 2009
@@ -1,7 +1,12 @@
 #include "include/reactos/msvctarget.h"
 
+#ifdef _M_ARM
+@ fastcall ExAcquireFastMutex(ptr)
+@ fastcall ExReleaseFastMutex(ptr)
+#else
 @ fastcall ExAcquireFastMutex(ptr) ExiAcquireFastMutex
 @ fastcall ExReleaseFastMutex(ptr) ExiReleaseFastMutex
+#endif
 @ fastcall ExTryToAcquireFastMutex(ptr) ExiTryToAcquireFastMutex
 @ fastcall HalClearSoftwareInterrupt(long)
 @ fastcall HalRequestSoftwareInterrupt(long)
@@ -69,14 +74,16 @@
 @ fastcall HalSweepDcache()
 #endif
 @ stdcall HalTranslateBusAddress(long long long long ptr ptr)
-@ stdcall IoAssignDriveLetters(ptr str ptr ptr) HalpAssignDriveLetters
 @ stdcall IoFlushAdapterBuffers(ptr ptr ptr ptr long long)
 @ stdcall IoFreeAdapterChannel(ptr)
 @ stdcall IoFreeMapRegisters(ptr ptr long)
 @ stdcall IoMapTransfer(ptr ptr ptr ptr ptr long)
+#ifndef _M_ARM
+@ stdcall IoAssignDriveLetters(ptr str ptr ptr) HalpAssignDriveLetters
 @ stdcall IoReadPartitionTable(ptr long long ptr) HalpReadPartitionTable
 @ stdcall IoSetPartitionInformation(ptr long long long) HalpSetPartitionInformation
 @ stdcall IoWritePartitionTable(ptr long long long ptr) HalpWritePartitionTable
+#endif
 @ stdcall KeAcquireSpinLock(ptr ptr)
 @ extern KdComPortInUse
 @ stdcall KeFlushWriteBuffer()



More information about the Ros-diffs mailing list