[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/6] cris: Add a CRISv32 default "any" CPU for u
From: |
Edgar E. Iglesias |
Subject: |
Re: [Qemu-devel] [PATCH 1/6] cris: Add a CRISv32 default "any" CPU for user mode emulation |
Date: |
Mon, 3 Feb 2014 13:22:19 +0000 |
User-agent: |
Mutt/1.5.20 (2009-12-10) |
On Mon, Feb 03, 2014 at 12:44:03PM +0100, Andreas Färber wrote:
> Hi,
>
> Am 02.02.2014 04:04, schrieb address@hidden:
> > From: "Edgar E. Iglesias" <address@hidden>
> >
> > Signed-off-by: Edgar E. Iglesias <address@hidden>
> > ---
> > target-cris/cpu.c | 7 +++++++
> > 1 file changed, 7 insertions(+)
> >
> > diff --git a/target-cris/cpu.c b/target-cris/cpu.c
> > index 44301a4..21f1860 100644
> > --- a/target-cris/cpu.c
> > +++ b/target-cris/cpu.c
> > @@ -239,7 +239,14 @@ static const TypeInfo cris_cpu_model_type_infos[] = {
> > .name = TYPE("crisv32"),
> > .parent = TYPE_CRIS_CPU,
> > .class_init = crisv32_cpu_class_init,
> > + },
> > +#if defined(CONFIG_USER_ONLY)
> > + {
> > + .name = TYPE("any"),
> > + .parent = TYPE_CRIS_CPU,
> > + .class_init = crisv32_cpu_class_init,
> > }
>
> If this model is supposed to be exactly the same as crisv32, I would
> recommend to make this an alias handled in CRISCPU::class_by_name()
> rather than a distinct QOM type.
>
Sounds good, I'll send a v2 of this one.
Cheers,
Edgar
- [Qemu-devel] [PATCH 0/6] CRIS queue, edgar . iglesias, 2014/02/01
- [Qemu-devel] [PATCH 1/6] cris: Add a CRISv32 default "any" CPU for user mode emulation, edgar . iglesias, 2014/02/01
- [Qemu-devel] [PATCH 2/6] cris: Abort when a v10 takes interrupts while in a delayslot, edgar . iglesias, 2014/02/01
- [Qemu-devel] [PATCH 3/6] cris: Add interrupt signals to the CPU device, edgar . iglesias, 2014/02/01
- [Qemu-devel] [PATCH 4/6] axis-dev88: Connect the PIC upstream IRQs directly to the CPU, edgar . iglesias, 2014/02/01
- [Qemu-devel] [PATCH 6/6] linux-user: Fix trampoline code for CRIS, edgar . iglesias, 2014/02/01
- [Qemu-devel] [PATCH 5/6] cris: Remove the CRIS PIC glue, edgar . iglesias, 2014/02/01