From ac6394ae92d00c1d3e755f8726d97abf64326388 Mon Sep 17 00:00:00 2001 From: ReactOS Portable Systems Group Date: Sun, 12 Jul 2009 10:39:58 +0000 Subject: [PATCH] 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 svn path=/trunk/; revision=41914 --- reactos/hal/hal/hal.pspec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/reactos/hal/hal/hal.pspec b/reactos/hal/hal/hal.pspec index 0b1a9bce7a1..0a191bee07f 100644 --- a/reactos/hal/hal/hal.pspec +++ b/reactos/hal/hal/hal.pspec @@ -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()