To elaborate a bit more ...
If the target is arm, in disas_arm_insn function we fetch the opcode as per
the pc value :
insn = arm_ldl_code(env, s->pc, s->bswap_code)

This PC value i could trace back and see actually come from the cpu
register set for arm regs[15]. which is the pc value.
Is this PC value a target virtual address or the host virtual address ?
How is the translation done ?

Thanks,
Gaurav



On Wed, Feb 12, 2014 at 1:17 PM, Gaurav Sharma <gauravs.2...@gmail.com>wrote:

> Can anyone point it out to me where is the pc value translated from guest
> virtual address to host virtual address ?
>
> Thanks,
> Gaurav
>

Reply via email to