[Qemu-devel] [RFC 0/2] arm: add skeleton Cortex M0 CPU model

Stefan Hajnoczi posted 2 patches 5 years, 10 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
hw/arm/Makefile.objs            |   1 +
hw/intc/Makefile.objs           |   2 +-
hw/timer/Makefile.objs          |   2 +-
include/hw/arm/arm.h            |  16 +++
include/hw/arm/armv6m.h         |  49 ++++++++
hw/arm/armv6m.c                 | 190 ++++++++++++++++++++++++++++++++
hw/arm/nrf51_soc.c              |   5 +-
target/arm/cpu.c                |  12 ++
default-configs/arm-softmmu.mak |   2 +
9 files changed, 274 insertions(+), 5 deletions(-)
create mode 100644 include/hw/arm/armv6m.h
create mode 100644 hw/arm/armv6m.c
[Qemu-devel] [RFC 0/2] arm: add skeleton Cortex M0 CPU model
Posted by Stefan Hajnoczi 5 years, 10 months ago
This patch series adds a skeleton ARM Cortex M3 CPU model and updates the
"microbit" machine type to use it.

The Cortex M0 emulation is not complete.  This just lays the groundwork so we
can implement the missing ARMv6-M feature tests in target/arm/.

These patches cannot be merged until ARMv6-M feature tests have been fully
implemented.

Julia: it should now be possible for you to tackle the Cortex M0 emulation
tasks that have been discussed on the mailing list.

Based-on: http://github.com/stefanha/qemu/commits/microbit

Stefan Hajnoczi (2):
  target/arm: add "cortex-m0" CPU model
  arm: add ARMv6-M device container

 hw/arm/Makefile.objs            |   1 +
 hw/intc/Makefile.objs           |   2 +-
 hw/timer/Makefile.objs          |   2 +-
 include/hw/arm/arm.h            |  16 +++
 include/hw/arm/armv6m.h         |  49 ++++++++
 hw/arm/armv6m.c                 | 190 ++++++++++++++++++++++++++++++++
 hw/arm/nrf51_soc.c              |   5 +-
 target/arm/cpu.c                |  12 ++
 default-configs/arm-softmmu.mak |   2 +
 9 files changed, 274 insertions(+), 5 deletions(-)
 create mode 100644 include/hw/arm/armv6m.h
 create mode 100644 hw/arm/armv6m.c

-- 
2.17.0