qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] [PATCH v2] openpic: Added BRR1 register


From: Bhushan Bharat-R65777
Subject: Re: [Qemu-ppc] [PATCH v2] openpic: Added BRR1 register
Date: Tue, 17 Jul 2012 09:10:31 +0000


> -----Original Message-----
> From: Alexander Graf [mailto:address@hidden
> Sent: Tuesday, July 17, 2012 2:06 PM
> To: Bhushan Bharat-R65777
> Cc: address@hidden; address@hidden; Bhushan Bharat-R65777
> Subject: Re: [PATCH v2] openpic: Added BRR1 register
> 
> 
> On 17.07.2012, at 08:30, Bharat Bhushan wrote:
> 
> > Linux mpic driver uses (changes may be in pipeline to get upstreamed
> > soon) BRR1. This patch adds the support to emulate readonly BRR1.
> >
> > Currently QEMU does not fully emulate any version on MPIC, so the MPIC
> > Major number and Minor number are set to 0.
> 
> Hrm, I can't seem to find any mentioning of this register in the CPC945 spec 
> for
> example.

This means that BRR1 register is FSL specific. Any suggestion on how to add FSL 
specific in openpic?

> 
> >
> > Signed-off-by: Bharat Bhushan <address@hidden>
> > ---
> > hw/openpic.c |   16 ++++++++++++++++
> > 1 files changed, 16 insertions(+), 0 deletions(-)
> >
> > diff --git a/hw/openpic.c b/hw/openpic.c index 58ef871..aad2ee9 100644
> > --- a/hw/openpic.c
> > +++ b/hw/openpic.c
> > @@ -130,6 +130,16 @@ enum {
> > #define MPIC_CPU_REG_START        0x20000
> > #define MPIC_CPU_REG_SIZE         0x100 + ((MAX_CPU - 1) * 0x1000)
> >
> > +/*
> > + * Block Revision Register1 (BRR1): QEMU does not fully emulate
> > + * any version on MPIC. So to start with, set the IP version to 0.
> > + */
> > +#define BRR1_IPID 0x00400000 /* IP-block ID */
> 
> Does this mean "FSL"?

Yes, the value is FSL specific.

Thanks
-Bharat




reply via email to

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