aboutsummaryrefslogtreecommitdiff
path: root/hw/eccmemctl.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
commit99a0949b720a0936da2052cb9a46db04ffc6db29 (patch)
treef9e39633853e35b49fc4465337cc196b9650866e /hw/eccmemctl.c
parentbc6291a1b95a2c4c546fde6e5cb4c68366f06649 (diff)
downloadqemu-99a0949b720a0936da2052cb9a46db04ffc6db29.zip
qemu-99a0949b720a0936da2052cb9a46db04ffc6db29.tar.gz
qemu-99a0949b720a0936da2052cb9a46db04ffc6db29.tar.bz2
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/eccmemctl.c')
-rw-r--r--hw/eccmemctl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/eccmemctl.c b/hw/eccmemctl.c
index 12c386b..7eaa1e5 100644
--- a/hw/eccmemctl.c
+++ b/hw/eccmemctl.c
@@ -133,7 +133,7 @@ typedef struct ECCState {
uint32_t version;
} ECCState;
-static void ecc_mem_writel(void *opaque, target_phys_addr_t addr, uint32_t val)
+static void ecc_mem_writel(void *opaque, a_target_phys_addr addr, uint32_t val)
{
ECCState *s = opaque;
@@ -175,7 +175,7 @@ static void ecc_mem_writel(void *opaque, target_phys_addr_t addr, uint32_t val)
}
}
-static uint32_t ecc_mem_readl(void *opaque, target_phys_addr_t addr)
+static uint32_t ecc_mem_readl(void *opaque, a_target_phys_addr addr)
{
ECCState *s = opaque;
uint32_t ret = 0;
@@ -233,7 +233,7 @@ static CPUWriteMemoryFunc * const ecc_mem_write[3] = {
ecc_mem_writel,
};
-static void ecc_diag_mem_writeb(void *opaque, target_phys_addr_t addr,
+static void ecc_diag_mem_writeb(void *opaque, a_target_phys_addr addr,
uint32_t val)
{
ECCState *s = opaque;
@@ -242,7 +242,7 @@ static void ecc_diag_mem_writeb(void *opaque, target_phys_addr_t addr,
s->diag[addr & ECC_DIAG_MASK] = val;
}
-static uint32_t ecc_diag_mem_readb(void *opaque, target_phys_addr_t addr)
+static uint32_t ecc_diag_mem_readb(void *opaque, a_target_phys_addr addr)
{
ECCState *s = opaque;
uint32_t ret = s->diag[(int)addr];