Author: tkreuzer
Date: Fri Jun  1 16:10:14 2012
New Revision: 56683
URL: 
http://svn.reactos.org/svn/reactos?rev=56683&view=rev
Log:
[PSDK]
- Add __post_invalid to specstrings.h
- Add missing InterlockedCompareExchangePointerAcquire and
InterlockedCompareExchangePointerRelease for x86 to winbase.h
- Add missing MemoryBarrier definition
Modified:
    trunk/reactos/include/psdk/specstrings.h
    trunk/reactos/include/psdk/winbase.h
    trunk/reactos/include/xdk/amd64/ke.h
Modified: trunk/reactos/include/psdk/specstrings.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/specstrings.h…
==============================================================================
--- trunk/reactos/include/psdk/specstrings.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/specstrings.h [iso-8859-1] Fri Jun  1 16:10:14 2012
@@ -28,6 +28,7 @@
 #define __field_bcount(size) __notnull __byte_writableTo(size)
 #define __field_ecount(size) __notnull __elem_writableTo(size)
+#define __post_invalid _Post_ __notvalid
 #define __deref_in
 #define __deref_in_ecount(size)
Modified: trunk/reactos/include/psdk/winbase.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winbase.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/winbase.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/winbase.h [iso-8859-1] Fri Jun  1 16:10:14 2012
@@ -2392,6 +2392,8 @@
 PSLIST_ENTRY WINAPI InterlockedPopEntrySList(PSLIST_HEADER);
 PSLIST_ENTRY WINAPI InterlockedPushEntrySList(PSLIST_HEADER,PSLIST_ENTRY);
 #endif
+#define InterlockedCompareExchangePointerAcquire InterlockedCompareExchangePointer
+#define InterlockedCompareExchangePointerRelease InterlockedCompareExchangePointer
 #endif // !(defined (_M_AMD64) || defined (_M_IA64))
Modified: trunk/reactos/include/xdk/amd64/ke.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/xdk/amd64/ke.h?rev…
==============================================================================
--- trunk/reactos/include/xdk/amd64/ke.h [iso-8859-1] (original)
+++ trunk/reactos/include/xdk/amd64/ke.h [iso-8859-1] Fri Jun  1 16:10:14 2012
@@ -45,6 +45,7 @@
 #define KeGetDcacheFillSize() 1L
 #define YieldProcessor _mm_pause
+#define MemoryBarrier __faststorefence
 #define FastFence __faststorefence
 #define LoadFence _mm_lfence
 #define MemoryFence _mm_mfence