armv7m: Make NVIC expose a memory region rather than mapping itself
commit98957a94ef14311efcacb443566fb3a4231b21df
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Feb 2017 15:36:00 +0000 (20 15:36 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 28 Feb 2017 16:18:49 +0000 (28 16:18 +0000)
tree402249e0cb85a93735f6b2ed3ff6ad00b2335659
parent618119c2d39dc015e3bb27b69ab2000a6ae2289a
armv7m: Make NVIC expose a memory region rather than mapping itself

Make the NVIC device expose a memory region for its users
to map, rather than mapping itself into the system memory
space on realize, and get the one user (the ARMv7M object)
to do this.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1487604965-23220-7-git-send-email-peter.maydell@linaro.org
hw/arm/armv7m.c
hw/intc/armv7m_nvic.c