[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 02/25] Fix bug: palcode is at least 6 bits.
From: |
Tristan Gingold |
Subject: |
[Qemu-devel] [PATCH 02/25] Fix bug: palcode is at least 6 bits. |
Date: |
Tue, 24 Mar 2009 16:47:44 +0100 |
Signed-off-by: Tristan Gingold <address@hidden>
---
target-alpha/translate.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index 1513622..f4783e3 100644
--- a/target-alpha/translate.c
+++ b/target-alpha/translate.c
@@ -692,7 +692,7 @@ static always_inline int translate_one (DisasContext *ctx,
uint32_t insn)
if (ctx->mem_idx & 1)
goto invalid_opc;
else
- gen_excp(ctx, EXCP_CALL_PALP + ((palcode & 0x1F) << 6), 0);
+ gen_excp(ctx, EXCP_CALL_PALP + ((palcode & 0x3F) << 6), 0);
#endif
} else {
/* Invalid PAL call */
--
1.6.2
- [Qemu-devel] [PATCH 0/25]: add alpha es40 system emulation (v3), Tristan Gingold, 2009/03/24
- [Qemu-devel] [PATCH 01/25] Add support for multi-level phys map., Tristan Gingold, 2009/03/24
- [Qemu-devel] [PATCH 02/25] Fix bug: palcode is at least 6 bits.,
Tristan Gingold <=
- [Qemu-devel] [PATCH 03/25] Fix bug: do not mask address LSBs for ldwu., Tristan Gingold, 2009/03/24
- [Qemu-devel] [PATCH 04/25] Fix bug: integer conditionnal branch offset is 21 bits wide., Tristan Gingold, 2009/03/24
- [Qemu-devel] [PATCH 05/25] bug fix: avoid nop to override next instruction, Tristan Gingold, 2009/03/24
- [Qemu-devel] [PATCH 06/25] Fix temp free for hw_st, Tristan Gingold, 2009/03/24
- [Qemu-devel] [PATCH 07/25] Increase Alpha physical address size to 44 bits., Tristan Gingold, 2009/03/24
- [Qemu-devel] [PATCH 08/25] Alpha: set target page size to 13 bits., Tristan Gingold, 2009/03/24
- [Qemu-devel] [PATCH 09/25] Allow 5 mmu indexes., Tristan Gingold, 2009/03/24
- [Qemu-devel] [PATCH 10/25] Split cpu_mmu_index into cpu_mmu_index_data and cpu_mmu_index_code., Tristan Gingold, 2009/03/24
- [Qemu-devel] [PATCH 11/25] Add square wave output support., Tristan Gingold, 2009/03/24
- [Qemu-devel] [PATCH 12/25] Add ali1543 super IO pci device., Tristan Gingold, 2009/03/24