All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-arm] [PATCH 0/2] Fix compilation dependency issues of CONFIG_ARM_V7M
@ 2017-04-27 17:38 ` Wei Huang
  0 siblings, 0 replies; 20+ messages in thread
From: Wei Huang @ 2017-04-27 17:38 UTC (permalink / raw)
  To: qemu-arm; +Cc: peter.maydell, qemu-devel

CONFIG_ARM_V7M is used to control the compilation of NVIC and SysTick
Timer in QEMU. These two devices are not available when CONFIG_ARM_V7M
is un-defined. This can cause problems with ARMv7M code as it is tightly
integrated with NVIC for processing IRQ and exception.

This patchset addresses the problem by introducing stub functions when
CONFIG_ARM_V7M is not defined. It also makes the compilation of several
existing v7M-profile SoCs depedent on CONFIG_ARM_V7M.

Thanks,
-Wei

Wei Huang (2):
  armv7m: Make armv7m SoC compilation dependent on CONFIG_ARM_V7M
  armv7m: Use stub functions if CONFIG_ARM_V7M is not defined

 default-configs/arm-softmmu.mak |  2 --
 hw/arm/Makefile.objs            |  7 +++----
 target/arm/Makefile.objs        |  1 +
 target/arm/armv7m-stub.c        | 43 +++++++++++++++++++++++++++++++++++++++++
 4 files changed, 47 insertions(+), 6 deletions(-)
 create mode 100644 target/arm/armv7m-stub.c

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2017-06-02 16:11 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-27 17:38 [Qemu-arm] [PATCH 0/2] Fix compilation dependency issues of CONFIG_ARM_V7M Wei Huang
2017-04-27 17:38 ` [Qemu-devel] " Wei Huang
2017-04-27 17:38 ` [Qemu-arm] [PATCH 1/2] armv7m: Make armv7m SoC compilation dependent on CONFIG_ARM_V7M Wei Huang
2017-04-27 17:38   ` [Qemu-devel] " Wei Huang
2017-04-27 17:38 ` [Qemu-arm] [PATCH 2/2] armv7m: Use stub functions if CONFIG_ARM_V7M is not defined Wei Huang
2017-04-27 17:38   ` [Qemu-devel] " Wei Huang
2017-04-27 17:51 ` [Qemu-devel] [PATCH 0/2] Fix compilation dependency issues of CONFIG_ARM_V7M no-reply
2017-04-27 17:51   ` no-reply
2017-04-27 21:13 ` [Qemu-arm] " Peter Maydell
2017-04-27 21:13   ` [Qemu-devel] " Peter Maydell
2017-04-28  0:10   ` [Qemu-arm] " Wei Huang
2017-04-28  0:10     ` Wei Huang
2017-04-28 12:09     ` [Qemu-arm] " Peter Maydell
2017-04-28 12:09       ` Peter Maydell
2017-04-28 13:58       ` [Qemu-arm] " Wei Huang
2017-04-28 13:58         ` Wei Huang
2017-06-02 15:00         ` Peter Maydell
2017-06-02 15:49           ` Alex Bennée
2017-06-02 15:55             ` Peter Maydell
2017-06-02 16:12               ` Alex Bennée

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.