summaryrefslogtreecommitdiff
path: root/hw/acpi.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@hp.com>2008-05-14 10:38:46 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2009-05-01 10:03:18 -0500
commitf654d9e20a9fb1971c6c8fe07c3b9164e9d22926 (patch)
tree5825ed0854fa82e10df94a6568bac21e78d1914e /hw/acpi.c
parentd02f7094b9b98b45fb129f8c9dcf10c70b5c93b7 (diff)
downloadqemu-f654d9e20a9fb1971c6c8fe07c3b9164e9d22926.tar.gz
Fix hw/acpi.c build w/ DEBUG enabled
Trivial build warning/fixes when the local DEBUG define is enabled. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Avi Kivity <avi@qumranet.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/acpi.c')
-rw-r--r--hw/acpi.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/acpi.c b/hw/acpi.c
index 53c1fec3c9..7e91405c38 100644
--- a/hw/acpi.c
+++ b/hw/acpi.c
@@ -609,7 +609,7 @@ static uint32_t gpe_readb(void *opaque, uint32_t addr)
}
#if defined(DEBUG)
- printf("gpe read %lx == %lx\n", addr, val);
+ printf("gpe read %x == %x\n", addr, val);
#endif
return val;
}
@@ -651,7 +651,7 @@ static void gpe_writeb(void *opaque, uint32_t addr, uint32_t val)
}
#if defined(DEBUG)
- printf("gpe write %lx <== %d\n", addr, val);
+ printf("gpe write %x <== %d\n", addr, val);
#endif
}
@@ -671,7 +671,7 @@ static uint32_t pcihotplug_read(void *opaque, uint32_t addr)
}
#if defined(DEBUG)
- printf("pcihotplug read %lx == %lx\n", addr, val);
+ printf("pcihotplug read %x == %x\n", addr, val);
#endif
return val;
}
@@ -689,14 +689,14 @@ static void pcihotplug_write(void *opaque, uint32_t addr, uint32_t val)
}
#if defined(DEBUG)
- printf("pcihotplug write %lx <== %d\n", addr, val);
+ printf("pcihotplug write %x <== %d\n", addr, val);
#endif
}
static uint32_t pciej_read(void *opaque, uint32_t addr)
{
#if defined(DEBUG)
- printf("pciej read %lx == %lx\n", addr, val);
+ printf("pciej read %x\n", addr);
#endif
return 0;
}
@@ -710,7 +710,7 @@ static void pciej_write(void *opaque, uint32_t addr, uint32_t val)
#endif
#if defined(DEBUG)
- printf("pciej write %lx <== %d\n", addr, val);
+ printf("pciej write %x <== %d\n", addr, val);
#endif
}