OSDN Git Service

added TARGET_LONG_BITS
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 24 Jan 2004 15:19:09 +0000 (15:19 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 24 Jan 2004 15:19:09 +0000 (15:19 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@580 c046a42c-6fe2-441c-8c8c-71466251a162

target-arm/cpu.h
target-i386/cpu.h
target-ppc/cpu.h
target-sparc/cpu.h

index 7f755a7..174f60d 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef CPU_ARM_H
 #define CPU_ARM_H
 
+#define TARGET_LONG_BITS 32
+
 #include "cpu-defs.h"
 
 #define EXCP_UDEF       1   /* undefined instruction */
index 6be987c..a93486c 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef CPU_I386_H
 #define CPU_I386_H
 
+#define TARGET_LONG_BITS 32
+
 #include "cpu-defs.h"
 
 #define R_EAX 0
index 850a88b..3809f20 100644 (file)
@@ -23,6 +23,8 @@
 #include <endian.h>
 #include <asm/byteorder.h>
 
+#define TARGET_LONG_BITS 32
+
 #include "cpu-defs.h"
 
 //#define USE_OPEN_FIRMWARE
index 67fece7..af5ecb5 100644 (file)
@@ -1,8 +1,8 @@
 #ifndef CPU_SPARC_H
 #define CPU_SPARC_H
 
-#include <setjmp.h>
-#include "config.h"
+#define TARGET_LONG_BITS 32
+
 #include "cpu-defs.h"
 
 /*#define EXCP_INTERRUPT 0x100*/