aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2010-11-22 14:57:54 -0800
committerEdgar E. Iglesias <edgar@axis.com>2010-12-01 19:48:31 +0100
commit255108c0e3c78bc437789a3626e53079ef322a4e (patch)
tree0e33810b07ad9e42cb633ea66fd8916caeca0451 /tcg
parent0909cbde9a1d42be9ab81f4f7e7d89c358212fd1 (diff)
downloadqemu-255108c0e3c78bc437789a3626e53079ef322a4e.zip
qemu-255108c0e3c78bc437789a3626e53079ef322a4e.tar.gz
qemu-255108c0e3c78bc437789a3626e53079ef322a4e.tar.bz2
tcg-ia64: Provide default GUEST_BASE.
Fix compilation error when GUEST_BASE is not defined. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
Diffstat (limited to 'tcg')
-rw-r--r--tcg/ia64/tcg-target.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcg/ia64/tcg-target.c b/tcg/ia64/tcg-target.c
index a0f3877..80c6950 100644
--- a/tcg/ia64/tcg-target.c
+++ b/tcg/ia64/tcg-target.c
@@ -45,6 +45,9 @@ static const char * const tcg_target_reg_names[TCG_TARGET_NB_REGS] = {
#else
#define TCG_GUEST_BASE_REG TCG_REG_R0
#endif
+#ifndef GUEST_BASE
+#define GUEST_BASE 0
+#endif
/* Branch registers */
enum {