Re: [Qemu-devel] [PATCH 1/5] kvm/powerpc: Enable MPIC for E500 platform.

2009-02-17 Thread Blue Swirl
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

RE: [Qemu-devel] [PATCH 1/5] kvm/powerpc: Enable MPIC for E500 platform.

2009-02-17 Thread Liu Yu-B13201
> -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

Re: [Qemu-devel] [PATCH 1/5] kvm/powerpc: Enable MPIC for E500 platform.

2009-02-19 Thread Aurelien Jarno
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

Re: [Qemu-devel] [PATCH 1/5] kvm/powerpc: Enable MPIC for E500 platform.

2009-02-20 Thread Blue Swirl
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