Make it possible to compile with CONFIG_ARM_V7M=n
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 23 repliesIn review
Changes in v1 from the cover letter
- Move the definitions into internals.h instead of cpu.h in the 1st patch
- Instead of creating an ugly stubs file, simply make armv7m_nvic.c mandatory for linking.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | target/arm: Make cpu_register() and set_feature() available for other filestarget/ target/ target/ | +21 | 1 reply | |
| 2/4 | target/arm: Move cortex-m related functions to new file v7m.ctarget/ target/ target/ | +194 | 10 replies | |
| 3/4 | hw/arm: Move armv7m_nvic.c to hw/arm/ and always enable it for arm buildshw/ hw/ hw/ +2 more | +19 | 9 replies | |
| 4/4 | default-configs: Do not enforce CONFIG_ARM_V7M anymoredefault-configs/ | +0 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Eric Auger |
|---|---|
| 1/4 | R-b |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] Make it possible to compile with CONFIG_ARM_V7M=n
We've got CONFIG_ARM_V7M, but it currently can't be disabled. Here are some patches that should allow to disable the switch (if the corresponding boards are disabled, too).
RFC -> v1:
- Move the definitions into internals.h instead of cpu.h in the 1st patch
- Instead of creating an ugly stubs file, simply make armv7m_nvic.c mandatory for linking.
Thomas Huth (4):
target/arm: Make cpu_register() and set_feature() available for other
files
target/arm: Move cortex-m related functions to new file v7m.c hw/arm: Move armv7m_nvic.c to hw/arm/ and always enable it for arm
builds
default-configs: Do not enforce CONFIG_ARM_V7M anymore
default-configs/arm-softmmu.mak | 3 -
hw/arm/Makefile.objs | 2 +
hw/{intc => arm}/armv7m_nvic.c | 0
hw/arm/trace-events | 17 +++
hw/intc/Makefile.objs | 1 -
hw/intc/trace-events | 17 ---
target/arm/Makefile.objs | 1 +
target/arm/cpu.c | 166 +--------------------------
target/arm/cpu64.c | 17 +--
target/arm/internals.h | 18 +++
target/arm/v7m.c | 193 ++++++++++++++++++++++++++++++++
11 files changed, 234 insertions(+), 201 deletions(-)
rename hw/{intc => arm}/armv7m_nvic.c (100%)
create mode 100644 target/arm/v7m.cSignature · 1 line
2.18.1