Author: ros-arm-bringup
Date: Sat Jul 19 16:04:31 2008
New Revision: 34593
URL:
http://svn.reactos.org/svn/reactos?rev=34593&view=rev
Log:
- We break your build, you break ours...
Modified:
trunk/reactos/include/psdk/intrin_arm.h
Modified: trunk/reactos/include/psdk/intrin_arm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/intrin_arm.h?…
==============================================================================
--- trunk/reactos/include/psdk/intrin_arm.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/intrin_arm.h [iso-8859-1] Sat Jul 19 16:04:31 2008
@@ -54,6 +54,12 @@
return a;
}
+static __inline__ __attribute__((always_inline)) void *
_InterlockedCompareExchangePointer(void * volatile * const Destination, void * const
Exchange, void * const Comperand)
+{
+ return (void*)_InterlockedCompareExchange((volatile long* const)Destination, (const
long)Exchange, (const long)Comperand);
+}
+
+
static __inline__ __attribute__((always_inline)) long _InterlockedExchangeAdd(volatile
long * const dest, const long add)
{
long a, b, c;