Missing review: 1-3, 5, 9-10 Few cleanups while using link properties between CPU/NVIC: - Simplify ID_PFR1 on useremu - Move NVIC helpers to "hw/intc/armv7m_nvic.h"
Since v1: addressed Richard's reviews - Do not restrict v7-M MMU helpers to TCG sysemu since they can be used for user-emu. Hardcode ARMMMUIdx_MUser - Convert CPUARMState::eabi to boolean - Split 'Restrict nvic to sysemu and store as NVICState' in 3 patches - Dropped following (RFC) patches: - neg_prio_requested / unrealized property problem - use object_property_add_const_link() Philippe Mathieu-Daudé (11): hw/intc/armv7m_nvic: Use OBJECT_DECLARE_SIMPLE_TYPE() macro target/arm: Simplify arm_v7m_mmu_idx_for_secstate() for user emulation target/arm: Reduce arm_v7m_mmu_idx_[all/for_secstate_and_priv]() scope target/arm: Constify ID_PFR1 on user emulation target/arm: Convert CPUARMState::eabi to boolean target/arm: Avoid resetting CPUARMState::eabi field target/arm: Restrict CPUARMState::gicv3state to sysemu target/arm: Restrict CPUARMState::arm_boot_info to sysemu target/arm: Restrict CPUARMState::nvic to sysemu target/arm: Store CPUARMState::nvic as NVICState* target/arm: Declare CPU <-> NVIC helpers in 'hw/intc/armv7m_nvic.h' hw/intc/armv7m_nvic.c | 38 ++++------ include/hw/intc/armv7m_nvic.h | 128 ++++++++++++++++++++++++++++++- linux-user/arm/cpu_loop.c | 4 +- linux-user/user-internals.h | 2 +- target/arm/cpu.c | 5 +- target/arm/cpu.h | 137 ++-------------------------------- target/arm/cpu_tcg.c | 3 + target/arm/helper.c | 12 ++- target/arm/internals.h | 14 ---- target/arm/m_helper.c | 86 +++++++++++---------- 10 files changed, 212 insertions(+), 217 deletions(-) -- 2.38.1