projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
420bf26
)
target/microblaze: Replace `tb_pc()` with `tb->pc`
author
Anton Johansson
<anjo@rev.ng>
Mon, 27 Feb 2023 13:51:55 +0000
(14:51 +0100)
committer
Richard Henderson
<richard.henderson@linaro.org>
Wed, 1 Mar 2023 17:33:18 +0000
(07:33 -1000)
Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <
20230227135202
.9710-21-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/microblaze/cpu.c
patch
|
blob
|
history
diff --git
a/target/microblaze/cpu.c
b/target/microblaze/cpu.c
index a2d2f5c34090f463a923c968165867969234b635..03c2c4db1f976889796c8a95b2fd753fb5f49fb6 100644
(file)
--- a/
target/microblaze/cpu.c
+++ b/
target/microblaze/cpu.c
@@
-30,6
+30,7
@@
#include "exec/exec-all.h"
#include "exec/gdbstub.h"
#include "fpu/softfloat-helpers.h"
+#include "tcg/tcg.h"
static const struct {
const char *name;
@@
-97,7
+98,8
@@
static void mb_cpu_synchronize_from_tb(CPUState *cs,
{
MicroBlazeCPU *cpu = MICROBLAZE_CPU(cs);
- cpu->env.pc = tb_pc(tb);
+ tcg_debug_assert(!(cs->tcg_cflags & CF_PCREL));
+ cpu->env.pc = tb->pc;
cpu->env.iflags = tb->flags & IFLAGS_TB_MASK;
}