> 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 ?
IIUC, qemu_ld takes addr as guest virtual address, then loads the value in that address into tmp. So, what "translated value" you mean here? The guest physical address, host virtual address, or the value of the guest virtual address? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj