diff options
author | Avi Kivity <avi@redhat.com> | 2011-12-19 12:53:48 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-01-03 19:19:27 +0200 |
commit | dcd97e33af43ae0bfa7e8c39ce8cebcfe7af6cb4 (patch) | |
tree | 3e57a4e41aa83490b434e13cb6571b2f32b63e7d /cpu-common.h | |
parent | 20581d207853fe4b1af88b116f077516dfa888cd (diff) |
memory: remove CPUPhysMemoryClient
No longer used.
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'cpu-common.h')
-rw-r--r-- | cpu-common.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/cpu-common.h b/cpu-common.h index 8295e4fea4..eee2fafe86 100644 --- a/cpu-common.h +++ b/cpu-common.h @@ -71,29 +71,6 @@ void cpu_physical_memory_unmap(void *buffer, target_phys_addr_t len, void *cpu_register_map_client(void *opaque, void (*callback)(void *opaque)); void cpu_unregister_map_client(void *cookie); -struct CPUPhysMemoryClient; -typedef struct CPUPhysMemoryClient CPUPhysMemoryClient; -struct CPUPhysMemoryClient { - void (*set_memory)(struct CPUPhysMemoryClient *client, - target_phys_addr_t start_addr, - ram_addr_t size, - ram_addr_t phys_offset, - bool log_dirty); - int (*sync_dirty_bitmap)(struct CPUPhysMemoryClient *client, - target_phys_addr_t start_addr, - target_phys_addr_t end_addr); - int (*migration_log)(struct CPUPhysMemoryClient *client, - int enable); - int (*log_start)(struct CPUPhysMemoryClient *client, - target_phys_addr_t phys_addr, ram_addr_t size); - int (*log_stop)(struct CPUPhysMemoryClient *client, - target_phys_addr_t phys_addr, ram_addr_t size); - QLIST_ENTRY(CPUPhysMemoryClient) list; -}; - -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 |