aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-25 00:26:36 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-25 00:26:36 +0000
commitcbd669dae9b41b1ebb92fbdf1f914fc039528005 (patch)
treee39ce893923042820392018b6120c9453e16542d
parentb352fa43eaf0bc2ce5d3f1625ac1080e0982b85a (diff)
One more bit of alpha support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3854 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--disas.c2
-rw-r--r--dyngen-exec.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/disas.c b/disas.c
index fe1fa9d5a8..ecc15344fb 100644
--- a/disas.c
+++ b/disas.c
@@ -392,6 +392,8 @@ void monitor_disas(CPUState *env,
print_insn = print_insn_i386;
#elif defined(TARGET_ARM)
print_insn = print_insn_arm;
+#elif defined(TARGET_ALPHA)
+ print_insn = print_insn_alpha;
#elif defined(TARGET_SPARC)
print_insn = print_insn_sparc;
#ifdef TARGET_SPARC64
diff --git a/dyngen-exec.h b/dyngen-exec.h
index 6f69beedc1..45a1ece40e 100644
--- a/dyngen-exec.h
+++ b/dyngen-exec.h
@@ -38,7 +38,7 @@ typedef unsigned int uint32_t;
// Linux/Sparc64 defines uint64_t
#if !(defined (__sparc_v9__) && defined(__linux__))
/* XXX may be done for all 64 bits targets ? */
-#if defined (__x86_64__) || defined(__ia64) || defined(__s390x__)
+#if defined (__x86_64__) || defined(__ia64) || defined(__s390x__) || defined(__alpha__)
typedef unsigned long uint64_t;
#else
typedef unsigned long long uint64_t;
@@ -55,7 +55,7 @@ typedef signed short int16_t;
typedef signed int int32_t;
// Linux/Sparc64 defines int64_t
#if !(defined (__sparc_v9__) && defined(__linux__))
-#if defined (__x86_64__) || defined(__ia64) || defined(__s390x__)
+#if defined (__x86_64__) || defined(__ia64) || defined(__s390x__) || defined(__alpha__)
typedef signed long int64_t;
#else
typedef signed long long int64_t;