]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/ppc/ppce500_spin.c
machine: show if CLI option '-numa node,mem' is supported in QAPI schema
[mirror_qemu.git] / hw / ppc / ppce500_spin.c
index 69ca2d0e421c6247b0aec973fc24c842ff5d809d..0060fcb43f21c11bec2fec16f8dd3b0ff72a57f1 100644 (file)
@@ -28,6 +28,8 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu/module.h"
+#include "qemu/units.h"
 #include "hw/hw.h"
 #include "hw/sysbus.h"
 #include "sysemu/hw_accel.h"
@@ -89,7 +91,7 @@ static void spin_kick(CPUState *cs, run_on_cpu_data data)
     PowerPCCPU *cpu = POWERPC_CPU(cs);
     CPUPPCState *env = &cpu->env;
     SpinInfo *curspin = data.host_ptr;
-    hwaddr map_size = 64 * 1024 * 1024;
+    hwaddr map_size = 64 * MiB;
     hwaddr map_start;
 
     cpu_synchronize_state(cs);