qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 03/13] Set mem_io_vaddr on io_read


From: Jan Kiszka
Subject: [Qemu-devel] Re: [PATCH 03/13] Set mem_io_vaddr on io_read
Date: Tue, 14 Oct 2008 19:49:06 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

Glauber Costa wrote:
> On Tue, Oct 14, 2008 at 7:12 AM, Jan Kiszka <address@hidden> wrote:
>> Required for read watchpoints.
> can we have a slightly more informative description for the  annotate 
> commands ?

"Analogously to write accesses, we need to save the memory address also
on read accesses in order to support read watchpoints."

Better?
Jan

> 
>> Signed-off-by: Jan Kiszka <address@hidden>
>> ---
>>  softmmu_template.h |    1 +
>>  1 file changed, 1 insertion(+)
>>
>> Index: b/softmmu_template.h
>> ===================================================================
>> --- a/softmmu_template.h
>> +++ b/softmmu_template.h
>> @@ -64,6 +64,7 @@ static inline DATA_TYPE glue(io_read, SU
>>         cpu_io_recompile(env, retaddr);
>>     }
>>
>> +    env->mem_io_vaddr = addr;
>>  #if SHIFT <= 2
>>     res = io_mem_read[index][SHIFT](io_mem_opaque[index], physaddr);
>>  #else
>>
>>
>>
>>
> 
> 
> 


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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