[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 35/50] target/xtensa: fetch code with translator_
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PATCH v3 35/50] target/xtensa: fetch code with translator_ld |
Date: |
Fri, 14 Jun 2019 18:11:45 +0100 |
From: "Emilio G. Cota" <address@hidden>
Signed-off-by: Emilio G. Cota <address@hidden>
---
target/xtensa/translate.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/xtensa/translate.c b/target/xtensa/translate.c
index 6f1da87875..cb849ae2d9 100644
--- a/target/xtensa/translate.c
+++ b/target/xtensa/translate.c
@@ -863,7 +863,7 @@ static int arg_copy_compare(const void *a, const void *b)
static void disas_xtensa_insn(CPUXtensaState *env, DisasContext *dc)
{
xtensa_isa isa = dc->config->isa;
- unsigned char b[MAX_INSN_LENGTH] = {cpu_ldub_code(env, dc->pc)};
+ unsigned char b[MAX_INSN_LENGTH] = {translator_ldub(env, dc->pc)};
unsigned len = xtensa_op0_insn_len(dc, b[0]);
xtensa_format fmt;
int slot, slots;
@@ -887,7 +887,7 @@ static void disas_xtensa_insn(CPUXtensaState *env,
DisasContext *dc)
dc->base.pc_next = dc->pc + len;
for (i = 1; i < len; ++i) {
- b[i] = cpu_ldub_code(env, dc->pc + i);
+ b[i] = translator_ldub(env, dc->pc + i);
}
xtensa_insnbuf_from_chars(isa, dc->insnbuf, b, len);
fmt = xtensa_format_decode(isa, dc->insnbuf);
--
2.20.1
- Re: [Qemu-devel] [PATCH v3 14/50] tcg: add tcg_gen_st_ptr, (continued)
- [Qemu-devel] [PATCH v3 10/50] queue: add QTAILQ_REMOVE_SEVERAL, Alex Bennée, 2019/06/14
- [Qemu-devel] [PATCH v3 07/50] plugin: add user-facing API, Alex Bennée, 2019/06/14
- [Qemu-devel] [PATCH v3 09/50] plugin: add implementation of the api, Alex Bennée, 2019/06/14
- [Qemu-devel] [PATCH v3 08/50] plugin: add core code, Alex Bennée, 2019/06/14
- [Qemu-devel] [PATCH v3 49/50] include/exec/cpu-defs.h: fix typo, Alex Bennée, 2019/06/14
- [Qemu-devel] [PATCH v3 21/50] *-user: notify plugin of exit, Alex Bennée, 2019/06/14
- [Qemu-devel] [PATCH v3 28/50] target/sh4: fetch code with translator_ld, Alex Bennée, 2019/06/14
- [Qemu-devel] [PATCH v3 35/50] target/xtensa: fetch code with translator_ld,
Alex Bennée <=
- [Qemu-devel] [PATCH v3 43/50] tests/plugin: add a hotblocks plugin, Alex Bennée, 2019/06/14
- [Qemu-devel] [PATCH v3 23/50] cpu: hook plugin vcpu events, Alex Bennée, 2019/06/14
- [Qemu-devel] [PATCH v3 11/50] cputlb: document get_page_addr_code, Alex Bennée, 2019/06/14
- [Qemu-devel] [PATCH v3 44/50] plugin: add qemu_plugin_insn_disas helper, Alex Bennée, 2019/06/14
- [Qemu-devel] [PATCH v3 18/50] cpu_ldst_useronly_template: remove redundant #ifndef CODE_ACCESS, Alex Bennée, 2019/06/14
- [Qemu-devel] [PATCH v3 20/50] translate-all: notify plugin code of tb_flush, Alex Bennée, 2019/06/14