Author: tkreuzer
Date: Sat Jun 30 11:19:28 2012
New Revision: 56811
URL:
http://svn.reactos.org/svn/reactos?rev=56811&view=rev
Log:
[PSDK/DDK]
Add definitions for BitScanForward64
Modified:
trunk/reactos/include/ddk/wdm.h
trunk/reactos/include/psdk/winnt.h
trunk/reactos/include/xdk/interlocked.h
Modified: trunk/reactos/include/ddk/wdm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/wdm.h?rev=5681…
==============================================================================
--- trunk/reactos/include/ddk/wdm.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/wdm.h [iso-8859-1] Sat Jun 30 11:19:28 2012
@@ -264,6 +264,8 @@
#define InterlockedBitTestAndReset _interlockedbittestandreset
#ifdef _M_AMD64
+#define BitScanForward64 _BitScanForward64
+#define BitScanReverse64 _BitScanReverse64
#define BitTest64 _bittest64
#define BitTestAndComplement64 _bittestandcomplement64
#define BitTestAndSet64 _bittestandset64
@@ -9757,6 +9759,7 @@
#define KeGetDcacheFillSize() 1L
#define YieldProcessor _mm_pause
+#define MemoryBarrier __faststorefence
#define FastFence __faststorefence
#define LoadFence _mm_lfence
#define MemoryFence _mm_mfence
@@ -10206,8 +10209,8 @@
}
#endif
+NTKERNELAPI
DECLSPEC_NORETURN
-NTKERNELAPI
VOID
NTAPI
KeBugCheckEx(
Modified: trunk/reactos/include/psdk/winnt.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winnt.h?rev=5…
==============================================================================
--- trunk/reactos/include/psdk/winnt.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/winnt.h [iso-8859-1] Sat Jun 30 11:19:28 2012
@@ -5312,6 +5312,10 @@
#define BitScanForward _BitScanForward
#define BitScanReverse _BitScanReverse
+#ifdef _M_AMD64
+#define BitScanForward64 _BitScanForward64
+#define BitScanReverse64 _BitScanReverse64
+#endif
/* TODO: Other architectures than X86 */
#if defined(_M_IX86)
Modified: trunk/reactos/include/xdk/interlocked.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/xdk/interlocked.h?…
==============================================================================
--- trunk/reactos/include/xdk/interlocked.h [iso-8859-1] (original)
+++ trunk/reactos/include/xdk/interlocked.h [iso-8859-1] Sat Jun 30 11:19:28 2012
@@ -57,6 +57,8 @@
#define InterlockedBitTestAndReset _interlockedbittestandreset
#ifdef _M_AMD64
+#define BitScanForward64 _BitScanForward64
+#define BitScanReverse64 _BitScanReverse64
#define BitTest64 _bittest64
#define BitTestAndComplement64 _bittestandcomplement64
#define BitTestAndSet64 _bittestandset64