]> Git Repo - qemu.git/blobdiff - hw/mpc8544_guts.c
janitor: do not rely on indirect inclusions of or from qemu-char.h
[qemu.git] / hw / mpc8544_guts.c
index aeb2de7ccc667ae7993d3908453c56287fa17ac9..873cb8cbfc6724f54b12fa0cbc5e8e5b92c5c558 100644 (file)
@@ -58,11 +58,11 @@ struct GutsState {
 
 typedef struct GutsState GutsState;
 
-static uint64_t mpc8544_guts_read(void *opaque, target_phys_addr_t addr,
+static uint64_t mpc8544_guts_read(void *opaque, hwaddr addr,
                                   unsigned size)
 {
     uint32_t value = 0;
-    CPUState *env = cpu_single_env;
+    CPUPPCState *env = cpu_single_env;
 
     addr &= MPC8544_GUTS_MMIO_SIZE - 1;
     switch (addr) {
@@ -80,7 +80,7 @@ static uint64_t mpc8544_guts_read(void *opaque, target_phys_addr_t addr,
     return value;
 }
 
-static void mpc8544_guts_write(void *opaque, target_phys_addr_t addr,
+static void mpc8544_guts_write(void *opaque, hwaddr addr,
                                uint64_t value, unsigned size)
 {
     addr &= MPC8544_GUTS_MMIO_SIZE - 1;
This page took 0.025784 seconds and 4 git commands to generate.