[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 02/19] target/microblaze: Renumber D_FLAG
From: |
Richard Henderson |
Subject: |
[PULL 02/19] target/microblaze: Renumber D_FLAG |
Date: |
Mon, 7 Sep 2020 10:50:45 -0700 |
ESS[DS] is bit 19 in the manual, but the manual uses big-endian bit
numbering. This corresponds to bit 12 in little-endian numbering.
Let the comment about matching the ESR be true by renumbering it.
Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/microblaze/cpu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/microblaze/cpu.h b/target/microblaze/cpu.h
index a25a2b427f..32811f773d 100644
--- a/target/microblaze/cpu.h
+++ b/target/microblaze/cpu.h
@@ -264,10 +264,10 @@ struct CPUMBState {
/* MSR_UM (1 << 11) */
/* MSR_VM (1 << 13) */
/* ESR_ESS_MASK [11:5] -- unwind into iflags for unaligned excp */
+#define D_FLAG (1 << 12) /* Bit in ESR. */
#define DRTI_FLAG (1 << 16)
#define DRTE_FLAG (1 << 17)
#define DRTB_FLAG (1 << 18)
-#define D_FLAG (1 << 19) /* Bit in ESR. */
/* TB dependent CPUMBState. */
#define IFLAGS_TB_MASK (D_FLAG | BIMM_FLAG | IMM_FLAG | \
--
2.25.1
- [PULL 00/19] target/microblaze patch queue, Richard Henderson, 2020/09/07
- [PATCH] hw/hyperv: Fix 32-bit build error for vmbus., Richard Henderson, 2020/09/07
- [PULL 01/19] target/microblaze: Collected fixes for env->iflags, Richard Henderson, 2020/09/07
- [PULL 02/19] target/microblaze: Renumber D_FLAG,
Richard Henderson <=
- [PULL 04/19] target/microblaze: Rename mmu structs, Richard Henderson, 2020/09/07
- [PULL 05/19] target/microblaze: Rename DISAS_UPDATE to DISAS_EXIT, Richard Henderson, 2020/09/07
- [PULL 03/19] target/microblaze: Cleanup mb_cpu_do_interrupt, Richard Henderson, 2020/09/07
- [PULL 06/19] target/microblaze: Introduce DISAS_EXIT_NEXT, DISAS_EXIT_JUMP, Richard Henderson, 2020/09/07
- [PULL 07/19] target/microblaze: Replace cpustate_changed with DISAS_EXIT_NEXT, Richard Henderson, 2020/09/07
- [PULL 08/19] target/microblaze: Handle DISAS_EXIT_NEXT in delay slot, Richard Henderson, 2020/09/07
- [PULL 09/19] target/microblaze: Force rtid, rted, rtbd to exit, Richard Henderson, 2020/09/07
- [PULL 10/19] target/microblaze: Use tcg_gen_lookup_and_goto_ptr, Richard Henderson, 2020/09/07