]> git.proxmox.com Git - mirror_qemu.git/commit
armv7m: Make bitband device take the address space to access
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Feb 2017 15:36:01 +0000 (15:36 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 28 Feb 2017 16:18:49 +0000 (16:18 +0000)
commitf68d881c9b2acee616b3baa7cc00a94a72f518f5
tree57314b610ff7e4193c7cf04285845c7ae879457b
parent98957a94ef14311efcacb443566fb3a4231b21df
armv7m: Make bitband device take the address space to access

Instead of the bitband device doing a cpu_physical_memory_read/write,
make it take a MemoryRegion which specifies where it should be
accessing, and use address_space_read/write to access the
corresponding AddressSpace.

Since this entails pretty much a rewrite, convert away from
old_mmio in the process.

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