mirror of https://github.com/proxmox/mirror_qemu
target/microblaze: Replace `tb_pc()` with `tb->pc`
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>master
parent
420bf265be
commit
ca647d4564
|
@ -30,6 +30,7 @@
|
||||||
#include "exec/exec-all.h"
|
#include "exec/exec-all.h"
|
||||||
#include "exec/gdbstub.h"
|
#include "exec/gdbstub.h"
|
||||||
#include "fpu/softfloat-helpers.h"
|
#include "fpu/softfloat-helpers.h"
|
||||||
|
#include "tcg/tcg.h"
|
||||||
|
|
||||||
static const struct {
|
static const struct {
|
||||||
const char *name;
|
const char *name;
|
||||||
|
@ -97,7 +98,8 @@ static void mb_cpu_synchronize_from_tb(CPUState *cs,
|
||||||
{
|
{
|
||||||
MicroBlazeCPU *cpu = MICROBLAZE_CPU(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;
|
cpu->env.iflags = tb->flags & IFLAGS_TB_MASK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue