[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/7] tcg-ia64: Provide default GUEST_BASE.
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH 3/7] tcg-ia64: Provide default GUEST_BASE. |
Date: |
Mon, 22 Nov 2010 14:57:54 -0800 |
Fix compilation error when GUEST_BASE is not defined.
Signed-off-by: Richard Henderson <address@hidden>
---
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 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 {
--
1.7.2.3
- [Qemu-devel] [PATCH 0/7] Fixes for ia64-linux host, Richard Henderson, 2010/11/22
- [Qemu-devel] [PATCH 7/7] tcg-ia64: Fix warning in qemu_ld., Richard Henderson, 2010/11/22
- [Qemu-devel] [PATCH 5/7] tcg-ia64: Fix tlb read error for 32-bit targets., Richard Henderson, 2010/11/22
- [Qemu-devel] [PATCH 3/7] tcg-ia64: Provide default GUEST_BASE.,
Richard Henderson <=
- [Qemu-devel] [PATCH 1/7] microblaze: target-ify target_ucontext, Richard Henderson, 2010/11/22
- [Qemu-devel] [PATCH 6/7] tcg-ia64: Fix address compilation in qemu_st., Richard Henderson, 2010/11/22
- [Qemu-devel] [PATCH 4/7] tcg-ia64: Implement qemu_ld32., Richard Henderson, 2010/11/22
- [Qemu-devel] [PATCH 2/7] tcg: Fix default definition of divu_i32 and remu_i32., Richard Henderson, 2010/11/22