Re: [Qemu-devel] [PATCH 8/8] PPC: Add e5500 CPU target

2012-06-20 Thread Scott Wood
On 06/20/2012 06:10 PM, Alexander Graf wrote: > > On 21.06.2012, at 01:07, Scott Wood wrote: > >> On 06/20/2012 05:59 PM, Alexander Graf wrote: >>> >>> On 21.06.2012, at 00:26, Scott Wood wrote: >>> On 06/20/2012 03:11 PM, Alexander Graf wrote: > +/* XXX better abstract into Emb.xxx

Re: [Qemu-devel] [PATCH 8/8] PPC: Add e5500 CPU target

2012-06-20 Thread Alexander Graf
On 21.06.2012, at 01:07, Scott Wood wrote: > On 06/20/2012 05:59 PM, Alexander Graf wrote: >> >> On 21.06.2012, at 00:26, Scott Wood wrote: >> >>> On 06/20/2012 03:11 PM, Alexander Graf wrote: +/* XXX better abstract into Emb.xxx features */ +if (version == fsl_e5500) { +

Re: [Qemu-devel] [PATCH 8/8] PPC: Add e5500 CPU target

2012-06-20 Thread Scott Wood
On 06/20/2012 05:59 PM, Alexander Graf wrote: > > On 21.06.2012, at 00:26, Scott Wood wrote: > >> On 06/20/2012 03:11 PM, Alexander Graf wrote: >>> +/* XXX better abstract into Emb.xxx features */ >>> +if (version == fsl_e5500) { >>> +spr_register(env, SPR_BOOKE_EPCR, "EPCR", >>>

Re: [Qemu-devel] [PATCH 8/8] PPC: Add e5500 CPU target

2012-06-20 Thread Alexander Graf
On 21.06.2012, at 00:26, Scott Wood wrote: > On 06/20/2012 03:11 PM, Alexander Graf wrote: >> +/* XXX better abstract into Emb.xxx features */ >> +if (version == fsl_e5500) { >> +spr_register(env, SPR_BOOKE_EPCR, "EPCR", >> + SPR_NOACCESS, SPR_NOACCESS, >> +

Re: [Qemu-devel] [PATCH 8/8] PPC: Add e5500 CPU target

2012-06-20 Thread Scott Wood
On 06/20/2012 03:11 PM, Alexander Graf wrote: > +/* XXX better abstract into Emb.xxx features */ > +if (version == fsl_e5500) { > +spr_register(env, SPR_BOOKE_EPCR, "EPCR", > + SPR_NOACCESS, SPR_NOACCESS, > + &spr_read_generic, &spr_write_gene

[Qemu-devel] [PATCH 8/8] PPC: Add e5500 CPU target

2012-06-20 Thread Alexander Graf
This patch adds e5500's CPU initialization to the TCG CPU initialization code. Signed-off-by: Alexander Graf --- target-ppc/translate_init.c | 104 +- 1 files changed, 101 insertions(+), 3 deletions(-) diff --git a/target-ppc/translate_init.c b/target-pp