Author: sir_richard
Date: Tue Nov 23 16:36:24 2010
New Revision: 49731
URL:
http://svn.reactos.org/svn/reactos?rev=49731&view=rev
Log:
[PSDK]: Add missing DbgRaiseAssertionFailure inline to winnt.h header.
Modified:
trunk/reactos/include/psdk/winnt.h
Modified: trunk/reactos/include/psdk/winnt.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winnt.h?rev=4…
==============================================================================
--- trunk/reactos/include/psdk/winnt.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/winnt.h [iso-8859-1] Tue Nov 23 16:36:24 2010
@@ -5265,12 +5265,24 @@
#endif
#if defined(_M_IX86)
+
#ifdef _MSC_VER
+#pragma intrinsic(__int2c)
#pragma intrinsic(_mm_pause)
#define YieldProcessor _mm_pause
#else
#define YieldProcessor() __asm__ __volatile__("pause");
-#endif
+#define __int2c() __asm__ __volatile__("int $0x2c");
+#endif
+
+
+FORCEINLINE
+VOID
+DbgRaiseAssertionFailure(VOID)
+{
+ __int2c();
+}
+
#elif defined (_M_AMD64)
#ifdef _MSC_VER
#pragma intrinsic(_mm_pause)