On Wed, Feb 12, 2014 at 05:42:00PM +0530, Gaurav Sharma wrote:
> 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 ?

It's target virtual address, translated to target physical address by
softmmu.  Target physical address is mapped to host virtual address by
qemu memory model, see docs/memory.txt.


Reply via email to