mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
portio: Allow to mark portio lists as coalesced MMIO flushing
This will enable us to remove all remaining explicit calls of qemu_flush_coalesced_mmio_buffer in IO handlers. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
518420dfec
commit
c76bc480e2
2 changed files with 11 additions and 0 deletions
|
@ -64,11 +64,13 @@ typedef struct PortioList {
|
|||
struct MemoryRegion **regions;
|
||||
void *opaque;
|
||||
const char *name;
|
||||
bool flush_coalesced_mmio;
|
||||
} PortioList;
|
||||
|
||||
void portio_list_init(PortioList *piolist, Object *owner,
|
||||
const struct MemoryRegionPortio *callbacks,
|
||||
void *opaque, const char *name);
|
||||
void portio_list_set_flush_coalesced(PortioList *piolist);
|
||||
void portio_list_destroy(PortioList *piolist);
|
||||
void portio_list_add(PortioList *piolist,
|
||||
struct MemoryRegion *address_space,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue