Author: cwittich
Date: Fri Mar 2 18:57:34 2007
New Revision: 25946
URL:
http://svn.reactos.org/svn/reactos?rev=25946&view=rev
Log:
fix mkhive on x86_64 hosts
Modified:
trunk/reactos/include/ddk/winddk.h
trunk/reactos/include/psdk/intrin.h
trunk/reactos/include/reactos/debug.h
Modified: trunk/reactos/include/ddk/winddk.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/winddk.h?rev=2…
==============================================================================
--- trunk/reactos/include/ddk/winddk.h (original)
+++ trunk/reactos/include/ddk/winddk.h Fri Mar 2 18:57:34 2007
@@ -5281,6 +5281,12 @@
#error Unknown compiler
#endif
}
+#elif __x86_64__
+
+typedef struct _KFLOATING_SAVE {
+ ULONG Dummy;
+} KFLOATING_SAVE, *PKFLOATING_SAVE;
+
#endif /* _X86_ */
#define PAGE_SIZE 0x1000
Modified: trunk/reactos/include/psdk/intrin.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/intrin.h?rev=…
==============================================================================
--- trunk/reactos/include/psdk/intrin.h (original)
+++ trunk/reactos/include/psdk/intrin.h Fri Mar 2 18:57:34 2007
@@ -951,7 +951,7 @@
#else
/* TODO: the x64 architecture shares most of the intrinsics. It should be easy to support
*/
-#error Unsupported architecture
+#warning Unsupported architecture
#endif
Modified: trunk/reactos/include/reactos/debug.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/debug.h?re…
==============================================================================
--- trunk/reactos/include/reactos/debug.h (original)
+++ trunk/reactos/include/reactos/debug.h Fri Mar 2 18:57:34 2007
@@ -124,6 +124,8 @@
#define ASM_BREAKPOINT "\ncall_pal bpt\n"
#elif defined(_M_MIPS)
#define ASM_BREAKPOINT "\nbreak\n"
+#elif defined(__x86_64__)
+#define ASM_BREAKPOINT "\nint $3\n"
#else
#error Unsupported architecture.
#endif