Author: sserapion
Date: Tue Jan 27 21:07:51 2009
New Revision: 39160
URL:
http://svn.reactos.org/svn/reactos?rev=39160&view=rev
Log:
The wbinvd instruction is the same on amd64
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/ex/sysinfo.c
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ex/sysinfo.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/ex/sysinfo.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/ex/sysinfo.c [iso-8859-1] Tue Jan 27
21:07:51 2009
@@ -1953,7 +1953,7 @@
{
PAGED_CODE();
-#if defined(_M_IX86)
+#if defined(_M_IX86) || defined(_M_AMD64)
__wbinvd();
#elif defined(_M_PPC)
__asm__ __volatile__("tlbsync");
@@ -1962,10 +1962,7 @@
for (;;);
#elif defined(_M_ARM)
__asm__ __volatile__("mov r1, #0; mcr p15, 0, r1, c7, c5, 0");
-#elif defined(_M_AMD64)
- DPRINT1("NtFlushInstructionCache() is not implemented\n");
- for (;;);
-#else
+s#else
#error Unknown architecture
#endif
return STATUS_SUCCESS;