]> Git Repo - qemu.git/blobdiff - hw/misc/pc-testdev.c
hw/arm/allwinner-h3: add Clock Control Unit
[qemu.git] / hw / misc / pc-testdev.c
index 46adb6b5fcc6a90fa47cc1a2f82fef08b1fc6d1d..8aa8e6549f53ce77753ef21610568d3c38618749 100644 (file)
@@ -36,8 +36,6 @@
 */
 
 #include "qemu/osdep.h"
-#include "hw/hw.h"
-#include "hw/qdev.h"
 #include "qemu/module.h"
 #include "hw/irq.h"
 #include "hw/isa/isa.h"
@@ -127,7 +125,7 @@ static void test_flush_page_write(void *opaque, hwaddr addr, uint64_t data,
                             unsigned len)
 {
     hwaddr page = 4096;
-    void *a = cpu_physical_memory_map(data & ~0xffful, &page, 0);
+    void *a = cpu_physical_memory_map(data & ~0xffful, &page, false);
 
     /* We might not be able to get the full page, only mprotect what we actually
        have mapped */
This page took 0.02515 seconds and 4 git commands to generate.