qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] [RFC] PPC: dump DCRs from monitor


From: François Revol
Subject: Re: [Qemu-devel] [PATCH] [RFC] PPC: dump DCRs from monitor
Date: Wed, 29 Aug 2012 19:43:49 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120817 Icedove/10.0.6

On 29/08/2012 16:53, Alexander Graf wrote:
> 
> 
> On 29.08.2012, at 04:03, François Revol <address@hidden> wrote:
> 
>> Hi,
>> I noticed the DCRs weren't shown with the registers or another command,
>> and tried to add one to dump them to help debugging my sam460ex target.
>> This first version doesn't list the names since they aren't registered
>> as such.
>> I tried adding a name arg to ppc_dcr_register, and a #define to get it
>> from the index, but it seems some code uses a loop to register them, so
>> it gives a dump like:
>> DCR[SDRAM0_CFGDATA 11]    00000000
>> DCR[dcr_base + i c0]    00000000
>> DCR[dcr_base + i c1]    00000000
>> Any suggestion?
>> BTW, they aren't saved in state dumps, are they?
> 
> Are they accessible through the monitor's p command? Would be good to 
> implement there too if not.

I don't think so, which syntax would you use anyway? $dcr[n] ?


François.



reply via email to

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