From 6842a08ee0f59dd00adcd51fda4705c412b6a0dd Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 21 Mar 2010 19:47:13 +0000 Subject: Compile pci only once Move coalesced_mmio declarations to a more accessible location. Signed-off-by: Blue Swirl --- cpu-common.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'cpu-common.h') 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); -- cgit v1.2.1