Add KeMemoryBarrier.
Modified: trunk/reactos/w32api/include/ddk/winddk.h
_____
Modified: trunk/reactos/w32api/include/ddk/winddk.h
--- trunk/reactos/w32api/include/ddk/winddk.h 2005-02-20 19:51:38 UTC
(rev 13694)
+++ trunk/reactos/w32api/include/ddk/winddk.h 2005-02-20 20:35:59 UTC
(rev 13695)
@@ -7606,6 +7606,15 @@
KeLeaveCriticalRegion(
VOID);
+static __inline
+VOID
+KeMemoryBarrier(
+ VOID)
+{
+ volatile LONG Barrier;
+ __asm__ __volatile__ ("xchg %%eax, %0" : : "m" (Barrier) :
"a");
+}
+
NTOSAPI
LONG
DDKAPI
Show replies by date