]> git.proxmox.com Git - mirror_qemu.git/blobdiff - docs/memory.txt
memory: Provide memory_region_init_rom()
[mirror_qemu.git] / docs / memory.txt
index 431d9ca88fb081824fe67ee428f13bdf2eb2fa14..811b1bd3c5a0efca6cc9d97f9b30f4abacd144c9 100644 (file)
@@ -41,8 +41,13 @@ MemoryRegion):
   MemoryRegionOps structure describing the callbacks.
 
 - ROM: a ROM memory region works like RAM for reads (directly accessing
-  a region of host memory), but like MMIO for writes (invoking a callback).
-  You initialize these with memory_region_init_rom_device().
+  a region of host memory), and forbids writes. You initialize these with
+  memory_region_init_rom().
+
+- ROM device: a ROM device memory region works like RAM for reads
+  (directly accessing a region of host memory), but like MMIO for
+  writes (invoking a callback).  You initialize these with
+  memory_region_init_rom_device().
 
 - IOMMU region: an IOMMU region translates addresses of accesses made to it
   and forwards them to some other target memory region.  As the name suggests,