MPIC and OpenPIC have very similar design.
So a lot of code can be reused.
Modification mainly include:
1. keep struct openpic_t to the maximum size of both MPIC and OpenPIC.
2. endianess swap.
MPIC has the same endianess as target, so no need to swap for MPIC.
3. using different init functions
MPIC and OpenPIC have very similar design.
So a lot of code can be reused.
Modification mainly include:
1. keep struct openpic_t to the maximum size of both MPIC and OpenPIC.
2. endianess swap.
MPIC has the same endianess as target, so no need to swap for MPIC.
3. using different init functions
On 2/26/09, Liu Yu wrote:
> MPIC and OpenPIC have very similar design.
> So a lot of code can be reused.
>
> Modification mainly include:
> 1. keep struct openpic_t to the maximum size of both MPIC and OpenPIC.
> 2. endianess swap.
>MPIC has the same endianess as target, so no need to swap
> -Original Message-
> From: Blue Swirl [mailto:blauwir...@gmail.com]
> Sent: Friday, February 27, 2009 2:47 AM
> To: Liu Yu-B13201
> Cc: qemu-de...@nongnu.org; aurel...@aurel32.net;
> holl...@us.ibm.com; kvm-ppc@vger.kernel.org
> Subject: Re: [PATCH 1/5] kvm/pow
oll...@us.ibm.com; kvm-ppc@vger.kernel.org
> > Subject: Re: [PATCH 1/5] kvm/powerpc: Enable MPIC for E500 platform.
> >
> > On 2/26/09, Liu Yu wrote:
> > > MPIC and OpenPIC have very similar design.
> > > So a lot of code can be reused.
> > >
> >
To: Liu Yu-B13201
> > > Cc: qemu-de...@nongnu.org; aurel...@aurel32.net;
> > > holl...@us.ibm.com; kvm-ppc@vger.kernel.org
> > > Subject: Re: [PATCH 1/5] kvm/powerpc: Enable MPIC for E500 platform.
> > >
> > > On 2/26/09, Liu Yu wro
On 2/17/09, Liu Yu wrote:
> MPIC and OpenPIC have very similar design.
> So a lot of code can be reused.
>
> Modification mainly include:
> 1. keep struct openpic_t to the maximum size of both MPIC and OpenPIC.
> 2. endianess swap.
>MPIC has the same endianess as target, so no need to swap
> -Original Message-
> From: Blue Swirl [mailto:blauwir...@gmail.com]
> Sent: Tuesday, February 17, 2009 10:56 PM
> To: qemu-de...@nongnu.org
> Cc: aurel...@aurel32.net; holl...@us.ibm.com; Liu Yu-B13201;
> kvm-ppc@vger.kernel.org
> Subject: Re: [Qemu-devel] [P
On Tue, Feb 17, 2009 at 04:55:51PM +0200, Blue Swirl wrote:
> On 2/17/09, Liu Yu wrote:
> > MPIC and OpenPIC have very similar design.
> > So a lot of code can be reused.
> >
> > Modification mainly include:
> > 1. keep struct openpic_t to the maximum size of both MPIC and OpenPIC.
> > 2. endi
On 2/20/09, Aurelien Jarno wrote:
> On Tue, Feb 17, 2009 at 04:55:51PM +0200, Blue Swirl wrote:
> > On 2/17/09, Liu Yu wrote:
> > > MPIC and OpenPIC have very similar design.
> > > So a lot of code can be reused.
> > >
> > > Modification mainly include:
> > > 1. keep struct openpic_t to
10 matches
Mail list logo