summary refs log tree commit diff stats
path: root/include/hw/xen/xen.h
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2013-09-09 16:15:52 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2013-09-09 16:22:19 +0000
commit04d7bad8a4fb23e6d9af9d06ce3ddc28a251d94d (patch)
tree0c56e3066669e4ca8e85f22e9c8e74b50e68cefa /include/hw/xen/xen.h
parentdf7131623daf4823e087eb1128f6c1c351519774 (diff)
downloadfocaccia-qemu-04d7bad8a4fb23e6d9af9d06ce3ddc28a251d94d.tar.gz
focaccia-qemu-04d7bad8a4fb23e6d9af9d06ce3ddc28a251d94d.zip
pc: Initializing ram_memory under Xen.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
CC: qemu-stable@nongnu.org
Diffstat (limited to 'include/hw/xen/xen.h')
-rw-r--r--include/hw/xen/xen.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/xen/xen.h b/include/hw/xen/xen.h
index 6d42dd1bd1..e1f88bf9cf 100644
--- a/include/hw/xen/xen.h
+++ b/include/hw/xen/xen.h
@@ -37,17 +37,15 @@ void xen_cmos_set_s3_resume(void *opaque, int irq, int level);
 qemu_irq *xen_interrupt_controller_init(void);
 
 int xen_init(void);
-int xen_hvm_init(void);
+int xen_hvm_init(MemoryRegion **ram_memory);
 void xenstore_store_pv_console_info(int i, struct CharDriverState *chr);
 
 #if defined(NEED_CPU_H) && !defined(CONFIG_USER_ONLY)
-struct MemoryRegion;
 void xen_ram_alloc(ram_addr_t ram_addr, ram_addr_t size,
                    struct MemoryRegion *mr);
 void xen_modified_memory(ram_addr_t start, ram_addr_t length);
 #endif
 
-struct MemoryRegion;
 void xen_register_framebuffer(struct MemoryRegion *mr);
 
 #if defined(CONFIG_XEN) && CONFIG_XEN_CTRL_INTERFACE_VERSION < 400