diff options
Diffstat (limited to 'cpu-common.h')
-rw-r--r-- | cpu-common.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpu-common.h b/cpu-common.h index f53690ac8c..bb053007f7 100644 --- a/cpu-common.h +++ b/cpu-common.h @@ -82,6 +82,17 @@ struct CPUPhysMemoryClient { void cpu_register_phys_memory_client(CPUPhysMemoryClient *); void cpu_unregister_phys_memory_client(CPUPhysMemoryClient *); +/* Coalesced MMIO regions are areas where write operations can be reordered. + * This usually implies that write operations are side-effect free. This allows + * batching which can make a major impact on performance when using + * virtualization. + */ +void qemu_register_coalesced_mmio(target_phys_addr_t addr, ram_addr_t size); + +void qemu_unregister_coalesced_mmio(target_phys_addr_t addr, ram_addr_t size); + +void qemu_flush_coalesced_mmio_buffer(void); + uint32_t ldub_phys(target_phys_addr_t addr); uint32_t lduw_phys(target_phys_addr_t addr); uint32_t ldl_phys(target_phys_addr_t addr); |