Author: tkreuzer
Date: Wed Sep 3 02:49:04 2008
New Revision: 35903
URL:
http://svn.reactos.org/svn/reactos?rev=35903&view=rev
Log:
"fix" Ke386SaveFlags and Ke386RestoreFlags
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/amd64/intrin_i.h
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/amd64/intrin_i.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/amd64/intrin_i.h
[iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/amd64/intrin_i.h
[iso-8859-1] Wed Sep 3 02:49:04 2008
@@ -68,8 +68,8 @@
: /* no outputs */ \
: "m" (X));
-#define Ke386SaveFlags(x) __asm__ __volatile__("pushfq ; popq
%0":"=g" (x): /* no input */)
-#define Ke386RestoreFlags(x) __asm__ __volatile__("pushq %0 ; popfq": /* no
output */ :"g" (x):"memory")
+#define Ke386SaveFlags(x) __asm__ __volatile__("pushfq ; popq
%0":"=rm" (x): /* no input */)
+#define Ke386RestoreFlags(x) __asm__ __volatile__("pushq %0 ; popfq": /* no
output */ :"irm" (x):"memory")
#define _Ke386GetSeg(N) ({ \
unsigned int __d; \