Commit
3cf1e035ba16423d1278ac34bea2ec795a9716a3
added TARGET_LONG_BITS
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@580 c046a42c-6fe2-441c-8c8c-71466251a162
...
|
...
|
@@ -20,6 +20,8 @@ |
20
|
20
|
#ifndef CPU_ARM_H |
21
|
21
|
#define CPU_ARM_H |
22
|
22
|
|
|
23
|
+#define TARGET_LONG_BITS 32 |
|
24
|
+ |
23
|
25
|
#include "cpu-defs.h" |
24
|
26
|
|
25
|
27
|
#define EXCP_UDEF 1 /* undefined instruction */ |
...
|
...
|
|
...
|
...
|
@@ -20,6 +20,8 @@ |
20
|
20
|
#ifndef CPU_I386_H |
21
|
21
|
#define CPU_I386_H |
22
|
22
|
|
|
23
|
+#define TARGET_LONG_BITS 32 |
|
24
|
+ |
23
|
25
|
#include "cpu-defs.h" |
24
|
26
|
|
25
|
27
|
#define R_EAX 0 |
...
|
...
|
|
...
|
...
|
@@ -23,6 +23,8 @@ |
23
|
23
|
#include <endian.h> |
24
|
24
|
#include <asm/byteorder.h> |
25
|
25
|
|
|
26
|
+#define TARGET_LONG_BITS 32 |
|
27
|
+ |
26
|
28
|
#include "cpu-defs.h" |
27
|
29
|
|
28
|
30
|
//#define USE_OPEN_FIRMWARE |
...
|
...
|
|
1
|
1
|
#ifndef CPU_SPARC_H |
2
|
2
|
#define CPU_SPARC_H |
3
|
3
|
|
4
|
|
-#include <setjmp.h> |
5
|
|
-#include "config.h" |
|
4
|
+#define TARGET_LONG_BITS 32 |
|
5
|
+ |
6
|
6
|
#include "cpu-defs.h" |
7
|
7
|
|
8
|
8
|
/*#define EXCP_INTERRUPT 0x100*/ |
...
|
...
|
|