]> git.proxmox.com Git - mirror_qemu.git/commit
nvic: Make nvic_sysreg_ns_ops work with any MemoryRegion
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 13 Dec 2017 17:59:26 +0000 (17:59 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 13 Dec 2017 17:59:26 +0000 (17:59 +0000)
commit62f018482c18c2f1a70f000a0bb361dd6d89aef4
treea25dea0151aa97f18a0ab6c4fea34dc20a809f1d
parent1313e2d7e2cd8b21741e0cf542eb09dfc4188f79
nvic: Make nvic_sysreg_ns_ops work with any MemoryRegion

Generalize nvic_sysreg_ns_ops so that we can pass it an
arbitrary MemoryRegion which it will use as the underlying
register implementation to apply the NS-alias behaviour
to. We'll want this so we can do the same with systick.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1512154296-5652-2-git-send-email-peter.maydell@linaro.org
hw/intc/armv7m_nvic.c