diff options
author | Peter Maydell | 2016-07-04 14:06:35 +0200 |
---|---|---|
committer | Peter Maydell | 2016-07-04 14:06:35 +0200 |
commit | a1777f7f6462c66e1ee6e98f0d5c431bfe988aa5 (patch) | |
tree | 0ab62b36fa13d0caa0efa8e5403483d677b4e2f4 /hw/arm/fsl-imx6.c | |
parent | target-arm/arm-semi.c: Fix SYS_HEAPINFO for 64-bit guests (diff) | |
download | qemu-a1777f7f6462c66e1ee6e98f0d5c431bfe988aa5.tar.gz qemu-a1777f7f6462c66e1ee6e98f0d5c431bfe988aa5.tar.xz qemu-a1777f7f6462c66e1ee6e98f0d5c431bfe988aa5.zip |
memory: Provide memory_region_init_rom()
Provide a new helper function memory_region_init_rom() for memory
regions which are read-only (and unlike those created by
memory_region_init_rom_device() don't have special behaviour
for writes). This has the same behaviour as calling
memory_region_init_ram() and then memory_region_set_readonly()
(which is what we do today in boards with pure ROMs) but is a
more easily discoverable API for the purpose.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1467122287-24974-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/arm/fsl-imx6.c')
0 files changed, 0 insertions, 0 deletions