diff options
author | Richard Henderson <rth@twiddle.net> | 2010-11-22 14:57:54 -0800 |
---|---|---|
committer | Edgar E. Iglesias <edgar@axis.com> | 2010-12-01 19:48:31 +0100 |
commit | 255108c0e3c78bc437789a3626e53079ef322a4e (patch) | |
tree | 0e33810b07ad9e42cb633ea66fd8916caeca0451 /tcg/ia64 | |
parent | 0909cbde9a1d42be9ab81f4f7e7d89c358212fd1 (diff) | |
download | qemu-255108c0e3c78bc437789a3626e53079ef322a4e.tar.gz qemu-255108c0e3c78bc437789a3626e53079ef322a4e.tar.bz2 qemu-255108c0e3c78bc437789a3626e53079ef322a4e.zip |
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/ia64')
-rw-r--r-- | tcg/ia64/tcg-target.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tcg/ia64/tcg-target.c b/tcg/ia64/tcg-target.c index a0f38771ee..80c6950b75 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 { |