Re: [Qemu-devel] [RFC 2/2] arm: add ARMv6-M device container

2018-06-04 Thread Stefan Hajnoczi
On Sat, Jun 02, 2018 at 05:16:00PM +0100, Peter Maydell wrote: > On 2 June 2018 at 15:14, Stefan Hajnoczi wrote: > > --- /dev/null > > +++ b/hw/arm/armv6m.c > > @@ -0,0 +1,190 @@ > > +/* > > + * ARMV6M System emulation. > > + * > > + * Copyright (C) 2018 Red Hat, Inc. > > + * > > + * Based on hw/a

Re: [Qemu-devel] [RFC 2/2] arm: add ARMv6-M device container

2018-06-02 Thread Peter Maydell
On 2 June 2018 at 15:14, Stefan Hajnoczi wrote: > Introduce armv6m_init() and the glue code needed to wire together an > ARMv6-M ARMCPU with memory and the NVIC. > > The "microbit" board needs to use a Cortex M0 CPU instead of a Cortex > M3. > > Signed-off-by: Stefan Hajnoczi > --- > hw/arm/Make

[Qemu-devel] [RFC 2/2] arm: add ARMv6-M device container

2018-06-02 Thread Stefan Hajnoczi
Introduce armv6m_init() and the glue code needed to wire together an ARMv6-M ARMCPU with memory and the NVIC. The "microbit" board needs to use a Cortex M0 CPU instead of a Cortex M3. Signed-off-by: Stefan Hajnoczi --- hw/arm/Makefile.objs| 1 + hw/intc/Makefile.objs |