]> git.proxmox.com Git - qemu.git/blobdiff - hw/pc.h
pc: grab system_memory
[qemu.git] / hw / pc.h
diff --git a/hw/pc.h b/hw/pc.h
index 6d5730b26be23159b7c9c5f6d30dd56eb2e647ec..fa575831d077dbca216e21c8801e03a84e5dbf40 100644 (file)
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -6,6 +6,7 @@
 #include "isa.h"
 #include "fdc.h"
 #include "net.h"
+#include "memory.h"
 
 /* PC-style peripherals (also used by other machines).  */
 
@@ -129,7 +130,8 @@ void pc_cmos_set_s3_resume(void *opaque, int irq, int level);
 void pc_acpi_smi_interrupt(void *opaque, int irq, int level);
 
 void pc_cpus_init(const char *cpu_model);
-void pc_memory_init(const char *kernel_filename,
+void pc_memory_init(MemoryRegion *system_memory,
+                    const char *kernel_filename,
                     const char *kernel_cmdline,
                     const char *initrd_filename,
                     ram_addr_t below_4g_mem_size,