]> Git Repo - qemu.git/blobdiff - hw/arm/raspi.c
hw/arm/exynos: Fix proper mapping of CPUs by providing real cluster ID
[qemu.git] / hw / arm / raspi.c
index 54982095b2e4ac40dacdbb4164c503d819ea4cc7..2b295f14c40779d8bd7fce182b2b26a568826ade 100644 (file)
@@ -9,6 +9,9 @@
  */
 
 #include "qemu/osdep.h"
+#include "qapi/error.h"
+#include "qemu-common.h"
+#include "cpu.h"
 #include "hw/arm/bcm2836.h"
 #include "qemu/error-report.h"
 #include "hw/boards.h"
@@ -164,11 +167,6 @@ static void raspi2_machine_init(MachineClass *mc)
     mc->no_floppy = 1;
     mc->no_cdrom = 1;
     mc->max_cpus = BCM2836_NCPUS;
-
-    /* XXX: Temporary restriction in RAM size from the full 1GB. Since
-     * we do not yet support the framebuffer / GPU, we need to limit
-     * RAM usable by the OS to sit below the peripherals.
-     */
-    mc->default_ram_size = 0x3F000000; /* BCM2836_PERI_BASE */
+    mc->default_ram_size = 1024 * 1024 * 1024;
 };
 DEFINE_MACHINE("raspi2", raspi2_machine_init)
This page took 0.021476 seconds and 4 git commands to generate.