Author: tkreuzer
Date: Wed Sep 24 05:45:58 2008
New Revision: 36468
URL:
http://svn.reactos.org/svn/reactos?rev=36468&view=rev
Log:
Add MemoryBarrier definition for amd64
Modified:
branches/ros-amd64-bringup/reactos/include/psdk/winnt.h
Modified: branches/ros-amd64-bringup/reactos/include/psdk/winnt.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/psdk/winnt.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/psdk/winnt.h [iso-8859-1] Wed Sep 24
05:45:58 2008
@@ -4703,7 +4703,7 @@
__asm__ __volatile__("xchgl %%eax, %[Barrier]" : : [Barrier] "m"
(Barrier) : "memory");
}
#elif defined (_M_AMD64)
-#define MemoryBarrier()
+#define MemoryBarrier __faststorefence
#elif defined(_M_PPC)
#define MemoryBarrier()
#elif defined(_M_ARM)