[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 06/19] Bug fix alpha: stop translation if too long
From: |
Tristan Gingold |
Subject: |
[Qemu-devel] [PATCH 06/19] Bug fix alpha: stop translation if too long |
Date: |
Mon, 30 Mar 2009 16:36:21 +0200 |
Signed-off-by: Tristan Gingold <address@hidden>
---
target-alpha/translate.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index e9463ae..dad1686 100644
--- a/target-alpha/translate.c
+++ b/target-alpha/translate.c
@@ -2401,10 +2401,10 @@ static always_inline void
gen_intermediate_code_internal (CPUState *env,
ret = translate_one(ctxp, insn);
if (ret != 0)
break;
- /* if we reach a page boundary or are single stepping, stop
- * generation
- */
+ /* if we reach a page boundary, or translation is too long
+ or are single stepping, stop generation. */
if (((ctx.pc & (TARGET_PAGE_SIZE - 1)) == 0) ||
+ gen_opc_ptr >= gen_opc_end ||
num_insns >= max_insns) {
break;
}
--
1.6.2
- [Qemu-devel] [PATCH 0/20]: add alpha es40 system emulation (v4), Tristan Gingold, 2009/03/30
- [Qemu-devel] [PATCH 01/19] Add support for multi-level phys map., Tristan Gingold, 2009/03/30
- [Qemu-devel] [PATCH 02/19] Increase Alpha physical address size to 44 bits., Tristan Gingold, 2009/03/30
- [Qemu-devel] [PATCH 03/19] Alpha: set target page size to 13 bits., Tristan Gingold, 2009/03/30
- [Qemu-devel] [PATCH 04/19] Allow 5 mmu indexes., Tristan Gingold, 2009/03/30
- [Qemu-devel] [PATCH 05/19] Split cpu_mmu_index into cpu_mmu_index_data and cpu_mmu_index_code., Tristan Gingold, 2009/03/30
- [Qemu-devel] [PATCH 06/19] Bug fix alpha: stop translation if too long,
Tristan Gingold <=
- [Qemu-devel] [PATCH 07/19] Alpha bug: fix palcode mask for user pal calls, Tristan Gingold, 2009/03/30
- [Qemu-devel] [PATCH 08/19] Alpha: document more registers used by 21264, Tristan Gingold, 2009/03/30
- [Qemu-devel] [PATCH 09/19] Add square wave output support., Tristan Gingold, 2009/03/30
- [Qemu-devel] [PATCH 10/19] Add ali1543 super IO pci device., Tristan Gingold, 2009/03/30
- [Qemu-devel] [PATCH 11/19] Add 21272 chipset (memory and pci controller for alpha), Tristan Gingold, 2009/03/30
- [Qemu-devel] [PATCH 12/19] Add target-alpha/machine.c and hw/es40.c for es40 machine emulation., Tristan Gingold, 2009/03/30
- [Qemu-devel] [PATCH 13/19] Move softmmu_helper.h from exec.h to op_helper.c on alpha., Tristan Gingold, 2009/03/30
- [Qemu-devel] [PATCH 14/19] alpha ld helpers now directly return the value., Tristan Gingold, 2009/03/30
- [Qemu-devel] [PATCH 15/19] Add alpha_cpu_list., Tristan Gingold, 2009/03/30
- [Qemu-devel] [PATCH 16/19] Alpha: lower parent irq when irq is lowered., Tristan Gingold, 2009/03/30