|
@@ -117,7 +117,7 @@ static void gen_tb_end(const TranslationBlock *tb, uint32_t cflags,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-bool translator_use_goto_tb(DisasContextBase *db, target_ulong dest)
|
|
|
+bool translator_use_goto_tb(DisasContextBase *db, vaddr dest)
|
|
|
{
|
|
|
/* Suppress goto_tb if requested. */
|
|
|
if (tb_cflags(db->tb) & CF_NO_GOTO_TB) {
|
|
@@ -129,8 +129,8 @@ bool translator_use_goto_tb(DisasContextBase *db, target_ulong dest)
|
|
|
}
|
|
|
|
|
|
void translator_loop(CPUState *cpu, TranslationBlock *tb, int *max_insns,
|
|
|
- target_ulong pc, void *host_pc,
|
|
|
- const TranslatorOps *ops, DisasContextBase *db)
|
|
|
+ vaddr pc, void *host_pc, const TranslatorOps *ops,
|
|
|
+ DisasContextBase *db)
|
|
|
{
|
|
|
uint32_t cflags = tb_cflags(tb);
|
|
|
TCGOp *icount_start_insn;
|
|
@@ -235,10 +235,10 @@ void translator_loop(CPUState *cpu, TranslationBlock *tb, int *max_insns,
|
|
|
}
|
|
|
|
|
|
static void *translator_access(CPUArchState *env, DisasContextBase *db,
|
|
|
- target_ulong pc, size_t len)
|
|
|
+ vaddr pc, size_t len)
|
|
|
{
|
|
|
void *host;
|
|
|
- target_ulong base, end;
|
|
|
+ vaddr base, end;
|
|
|
TranslationBlock *tb;
|
|
|
|
|
|
tb = db->tb;
|