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: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH] [RFC] PPC: dump DCRs from monitor
Date: Wed, 29 Aug 2012 10:55:43 -0700


On 29.08.2012, at 10:43, François Revol <address@hidden> wrote:

> 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] ?

Sure, why not? Is that possible with the register parsing code? I don't know 
that one too well, but it's probably the best fit for you, right?

Alex

> 
> 
> François.



reply via email to

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