summary refs log tree commit diff stats
path: root/include/hw/core/sysemu-cpu-ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/core/sysemu-cpu-ops.h')
-rw-r--r--include/hw/core/sysemu-cpu-ops.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/hw/core/sysemu-cpu-ops.h b/include/hw/core/sysemu-cpu-ops.h
index 1f249e0f06..213e5287ab 100644
--- a/include/hw/core/sysemu-cpu-ops.h
+++ b/include/hw/core/sysemu-cpu-ops.h
@@ -17,6 +17,11 @@
  */
 typedef struct SysemuCPUOps {
     /**
+     * @get_memory_mapping: Callback for obtaining the memory mappings.
+     */
+    void (*get_memory_mapping)(CPUState *cpu, MemoryMappingList *list,
+                               Error **errp);
+    /**
      * @get_phys_page_debug: Callback for obtaining a physical address.
      */
     hwaddr (*get_phys_page_debug)(CPUState *cpu, vaddr addr);