diff options
Diffstat (limited to 'sim/common/sim-gx-run.c')
-rw-r--r-- | sim/common/sim-gx-run.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sim/common/sim-gx-run.c b/sim/common/sim-gx-run.c index a4d8865..ecd8716 100644 --- a/sim/common/sim-gx-run.c +++ b/sim/common/sim-gx-run.c @@ -88,7 +88,12 @@ sim_engine_run (SIM_DESC sd, } /* call into gx function */ - rc = (*f)(& cpu->regs, block->pc_flags, block->callbacks); + { + struct tgx_info info = {& cpu->regs, + block->pc_flags, + block->callbacks }; + rc = (*f)(& info); + } /* compute pc_flags checksum */ if(! optimized) |