qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: Detecting an assembly instruction in QEMU


From: Atif Hashmi
Subject: Re: [Qemu-devel] Re: Detecting an assembly instruction in QEMU
Date: Tue, 24 Apr 2007 01:30:14 -0600

Hi Eduardo,

I have finished implementing the implementing the roll-back functionality for transactional memory. There is one thing that I wanted to ask you. In order to roll-back, I need to log all the memory references. So that in that case when a transaction fails and roll-back occurs, memory state can also be rolled back.

I will really apprecaite if you could direct me to the piece of code in QEMU for i386, where I can intercept the memory references.

Thanks,
Atif

On 4/22/07, Eduardo Felipe <address@hidden> wrote:
Hi Atif,

Your code seems quite ok to me. Just try including stored_eip inside the DisasContext, otherwise you'll lose its value between calls to disas_insn function.

Also make sure that the instructions you are using as markers are not executed elsewhere, as your compiler could generate them inside regular code or they could already exist in your OS.

Regards,
Eduardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]