summaryrefslogtreecommitdiff
path: root/hw/fw_cfg.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-10-01 22:20:47 +0400
committermalc <av1474@comtv.ru>2009-10-01 22:45:02 +0400
commit5be86926c66310373ee0f25efc9e151f2390201e (patch)
treef9e39633853e35b49fc4465337cc196b9650866e /hw/fw_cfg.c
parentac0d47ecf08b101f8b0b2acd910964aaa719eed2 (diff)
downloadqemu-5be86926c66310373ee0f25efc9e151f2390201e.tar.gz
qemu-5be86926c66310373ee0f25efc9e151f2390201e.tar.bz2
qemu-5be86926c66310373ee0f25efc9e151f2390201e.zip
Get rid of _t suffix
Some not so obvious bits, slirp and Xen were left alone for the time being. Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'hw/fw_cfg.c')
-rw-r--r--hw/fw_cfg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/fw_cfg.c b/hw/fw_cfg.c
index 37fe3b3580..bd57416f90 100644
--- a/hw/fw_cfg.c
+++ b/hw/fw_cfg.c
@@ -116,18 +116,18 @@ static void fw_cfg_io_writew(void *opaque, uint32_t addr, uint32_t value)
fw_cfg_select(opaque, (uint16_t)value);
}
-static uint32_t fw_cfg_mem_readb(void *opaque, target_phys_addr_t addr)
+static uint32_t fw_cfg_mem_readb(void *opaque, a_target_phys_addr addr)
{
return fw_cfg_read(opaque);
}
-static void fw_cfg_mem_writeb(void *opaque, target_phys_addr_t addr,
+static void fw_cfg_mem_writeb(void *opaque, a_target_phys_addr addr,
uint32_t value)
{
fw_cfg_write(opaque, (uint8_t)value);
}
-static void fw_cfg_mem_writew(void *opaque, target_phys_addr_t addr,
+static void fw_cfg_mem_writew(void *opaque, a_target_phys_addr addr,
uint32_t value)
{
fw_cfg_select(opaque, (uint16_t)value);
@@ -242,7 +242,7 @@ int fw_cfg_add_callback(void *opaque, uint16_t key, FWCfgCallback callback,
}
void *fw_cfg_init(uint32_t ctl_port, uint32_t data_port,
- target_phys_addr_t ctl_addr, target_phys_addr_t data_addr)
+ a_target_phys_addr ctl_addr, a_target_phys_addr data_addr)
{
FWCfgState *s;
int io_ctl_memory, io_data_memory;