Add KeMemoryBarrier.

svn path=/trunk/; revision=13695
This commit is contained in:
Filip Navara 2005-02-20 20:35:59 +00:00
parent 535d688d66
commit 6c64024a25

View file

@ -7606,6 +7606,15 @@ DDKAPI
KeLeaveCriticalRegion(
VOID);
static __inline
VOID
KeMemoryBarrier(
VOID)
{
volatile LONG Barrier;
__asm__ __volatile__ ("xchg %%eax, %0" : : "m" (Barrier) : "a");
}
NTOSAPI
LONG
DDKAPI