aboutsummaryrefslogtreecommitdiff
path: root/hw/ide/mmio.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/ide/mmio.c
parentbc6291a1b95a2c4c546fde6e5cb4c68366f06649 (diff)
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/ide/mmio.c')
-rw-r--r--hw/ide/mmio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/ide/mmio.c b/hw/ide/mmio.c
index acaa900c89..a1a7606299 100644
--- a/hw/ide/mmio.c
+++ b/hw/ide/mmio.c
@@ -41,7 +41,7 @@ typedef struct {
int shift;
} MMIOState;
-static uint32_t mmio_ide_read (void *opaque, target_phys_addr_t addr)
+static uint32_t mmio_ide_read (void *opaque, a_target_phys_addr addr)
{
MMIOState *s = (MMIOState*)opaque;
IDEBus *bus = s->bus;
@@ -52,7 +52,7 @@ static uint32_t mmio_ide_read (void *opaque, target_phys_addr_t addr)
return ide_data_readw(bus, 0);
}
-static void mmio_ide_write (void *opaque, target_phys_addr_t addr,
+static void mmio_ide_write (void *opaque, a_target_phys_addr addr,
uint32_t val)
{
MMIOState *s = (MMIOState*)opaque;
@@ -76,14 +76,14 @@ static CPUWriteMemoryFunc * const mmio_ide_writes[] = {
mmio_ide_write,
};
-static uint32_t mmio_ide_status_read (void *opaque, target_phys_addr_t addr)
+static uint32_t mmio_ide_status_read (void *opaque, a_target_phys_addr addr)
{
MMIOState *s= (MMIOState*)opaque;
IDEBus *bus = s->bus;
return ide_status_read(bus, 0);
}
-static void mmio_ide_cmd_write (void *opaque, target_phys_addr_t addr,
+static void mmio_ide_cmd_write (void *opaque, a_target_phys_addr addr,
uint32_t val)
{
MMIOState *s = (MMIOState*)opaque;
@@ -122,7 +122,7 @@ static int mmio_ide_load(QEMUFile* f, void *opaque, int version_id)
return 0;
}
-void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
+void mmio_ide_init (a_target_phys_addr membase, a_target_phys_addr membase2,
qemu_irq irq, int shift,
DriveInfo *hd0, DriveInfo *hd1)
{