Author: janderwald
Date: Tue Jun 23 01:07:52 2009
New Revision: 41566
URL:
http://svn.reactos.org/svn/reactos?rev=41566&view=rev
Log:
- define YieldProcessor msvc compatible
- rtl now builds
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 Jun 23 01:07:52 2009
@@ -4946,10 +4946,24 @@
#error Unknown architecture
#endif
+VOID
+_mm_pause (
+ VOID
+ );
+
+
#if defined(_M_IX86)
+#ifdef _MSC_VER
+#pragma intrinsic(_mm_pause)
+#else
#define YieldProcessor() __asm__ __volatile__("pause");
+#endif
#elif defined (_M_AMD64)
+#ifdef _MSC_VER
+#define YieldProcessor _mm_pause
+#else
#define YieldProcessor() __asm__ __volatile__("pause");
+#endif
#elif defined(_M_PPC)
#define YieldProcessor() __asm__ __volatile__("nop");
#elif defined(_M_MIPS)