[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] passing translated address out in QEMU
From: |
Xin Tong |
Subject: |
[Qemu-devel] passing translated address out in QEMU |
Date: |
Wed, 22 Aug 2012 10:17:43 -0700 |
Hello
In tcg_gen_qemu_ld8s(tmp, addr, index); a TCGv addr is passed to the
INDEX_op_qemu_ld8s as param and the loaded value is passed back in
tmp. i want to get the translated value as well. how can i do that ?
one way i can think of right now is to modify the INDEX_op_qemu_ld8s
and make it take one more TCGv and pass the translated address back
there. but this may need non-trial modifications to the target-* and
tcg.
another way is to pass out the translated address in the TCGv addr.
but it seems the register TCGv addr is assigned to is saved (edx on
i386 linux) before entering the translation. how can i make addr
clobberable in the tcg_out_qemu_ld/tcg_out_qemu_st ?
Thanks
Xin
- [Qemu-devel] passing translated address out in QEMU,
Xin Tong <=
- Re: [Qemu-devel] passing translated address out in QEMU, Wei-Ren Chen, 2012/08/22
- Re: [Qemu-devel] passing translated address out in QEMU, Xin Tong, 2012/08/23
- Re: [Qemu-devel] passing translated address out in QEMU, Wei-Ren Chen, 2012/08/23
- Re: [Qemu-devel] passing translated address out in QEMU, Wei-Ren Chen, 2012/08/23
- Re: [Qemu-devel] passing translated address out in QEMU, Xin Tong, 2012/08/23
- Re: [Qemu-devel] passing translated address out in QEMU, Peter Maydell, 2012/08/23
- Re: [Qemu-devel] passing translated address out in QEMU, Xin Tong, 2012/08/23
- Re: [Qemu-devel] passing translated address out in QEMU, Steven, 2012/08/23
- Re: [Qemu-devel] passing translated address out in QEMU, Wei-Ren Chen, 2012/08/23
- Re: [Qemu-devel] passing translated address out in QEMU, Xin Tong, 2012/08/23