From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
Alistair Francis <alistair@alistair23.me>,
joel@jms.id.au, qemu-arm@nongnu.org, jim@groklearning.com,
mail@steffen-goertz.de, jusual@mail.ru,
Subbaraya Sundeep <sundeep.lkml@gmail.com>,
ilg@livius.net, Stefan Hajnoczi <stefanha@redhat.com>
Subject: [Qemu-devel] [PATCH v2 0/3] arm: add skeleton Cortex M0 CPU model
Date: Sat, 30 Jun 2018 10:13:40 +0100 [thread overview]
Message-ID: <20180630091343.14391-1-stefanha@redhat.com> (raw)
v2:
* Share code between ARMv6-M and ARMv7-M [Peter]
This patch series adds a skeleton ARM Cortex M0 CPU model and an ARMv6M object
so that machine types can make use of it.
These patches cannot be merged until Julia Suvorova's Cortex M0 work is
complete, since the target/arm/ code does not implement ARMv6-M behavior
faithfully yet.
The micro:bit emulation will be the first machine type to make use of ARMv6-M.
Stefan Hajnoczi (3):
hw/arm: extract ARM M Profile base class from ARMv7-M
hw/arm: add ARMv6M object
target/arm: add "cortex-m0" CPU model
hw/arm/Makefile.objs | 2 +
include/hw/arm/arm-m-profile.h | 65 +++++++++++
include/hw/arm/arm.h | 11 +-
include/hw/arm/armv6m.h | 24 ++++
include/hw/arm/armv7m.h | 22 +---
hw/arm/arm-m-profile.c | 192 ++++++++++++++++++++++++++++++++
hw/arm/armv6m.c | 23 ++++
hw/arm/armv7m.c | 166 ++++++---------------------
hw/arm/mps2-tz.c | 3 +-
hw/arm/mps2.c | 4 +-
hw/arm/msf2-soc.c | 4 +-
hw/arm/msf2-som.c | 4 +-
hw/arm/netduino2.c | 4 +-
hw/arm/stellaris.c | 3 +-
target/arm/cpu.c | 11 ++
default-configs/arm-softmmu.mak | 2 +
16 files changed, 374 insertions(+), 166 deletions(-)
create mode 100644 include/hw/arm/arm-m-profile.h
create mode 100644 include/hw/arm/armv6m.h
create mode 100644 hw/arm/arm-m-profile.c
create mode 100644 hw/arm/armv6m.c
--
2.17.1
next reply other threads:[~2018-06-30 9:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-30 9:13 Stefan Hajnoczi [this message]
2018-06-30 9:13 ` [Qemu-devel] [PATCH v2 1/3] hw/arm: extract ARM M Profile base class from ARMv7-M Stefan Hajnoczi
2018-07-05 15:45 ` Peter Maydell
2018-07-05 15:49 ` Peter Maydell
2018-07-11 12:51 ` Stefan Hajnoczi
2018-07-11 13:32 ` Peter Maydell
2018-06-30 9:13 ` [Qemu-devel] [PATCH v2 2/3] hw/arm: add ARMv6M object Stefan Hajnoczi
2018-07-05 15:46 ` Peter Maydell
2018-06-30 9:13 ` [Qemu-devel] [PATCH v2 3/3] target/arm: add "cortex-m0" CPU model Stefan Hajnoczi
2018-07-05 15:28 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180630091343.14391-1-stefanha@redhat.com \
--to=stefanha@redhat.com \
--cc=alistair@alistair23.me \
--cc=ilg@livius.net \
--cc=jim@groklearning.com \
--cc=joel@jms.id.au \
--cc=jusual@mail.ru \
--cc=mail@steffen-goertz.de \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=sundeep.lkml@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).