mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list.
The naming convention is goofy and it causes a massive merge problem. Something
like this _must_ be presented on the list first so people can provide input
and cope with it.
This reverts commit 99a0949b72
.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
99a0949b72
commit
c227f0995e
316 changed files with 3332 additions and 3325 deletions
|
@ -211,7 +211,7 @@ static void pxa2xx_mmci_wakequeues(PXA2xxMMCIState *s)
|
|||
pxa2xx_mmci_fifo_update(s);
|
||||
}
|
||||
|
||||
static uint32_t pxa2xx_mmci_read(void *opaque, a_target_phys_addr offset)
|
||||
static uint32_t pxa2xx_mmci_read(void *opaque, target_phys_addr_t offset)
|
||||
{
|
||||
PXA2xxMMCIState *s = (PXA2xxMMCIState *) opaque;
|
||||
uint32_t ret;
|
||||
|
@ -273,7 +273,7 @@ static uint32_t pxa2xx_mmci_read(void *opaque, a_target_phys_addr offset)
|
|||
}
|
||||
|
||||
static void pxa2xx_mmci_write(void *opaque,
|
||||
a_target_phys_addr offset, uint32_t value)
|
||||
target_phys_addr_t offset, uint32_t value)
|
||||
{
|
||||
PXA2xxMMCIState *s = (PXA2xxMMCIState *) opaque;
|
||||
|
||||
|
@ -382,21 +382,21 @@ static void pxa2xx_mmci_write(void *opaque,
|
|||
}
|
||||
}
|
||||
|
||||
static uint32_t pxa2xx_mmci_readb(void *opaque, a_target_phys_addr offset)
|
||||
static uint32_t pxa2xx_mmci_readb(void *opaque, target_phys_addr_t offset)
|
||||
{
|
||||
PXA2xxMMCIState *s = (PXA2xxMMCIState *) opaque;
|
||||
s->ac_width = 1;
|
||||
return pxa2xx_mmci_read(opaque, offset);
|
||||
}
|
||||
|
||||
static uint32_t pxa2xx_mmci_readh(void *opaque, a_target_phys_addr offset)
|
||||
static uint32_t pxa2xx_mmci_readh(void *opaque, target_phys_addr_t offset)
|
||||
{
|
||||
PXA2xxMMCIState *s = (PXA2xxMMCIState *) opaque;
|
||||
s->ac_width = 2;
|
||||
return pxa2xx_mmci_read(opaque, offset);
|
||||
}
|
||||
|
||||
static uint32_t pxa2xx_mmci_readw(void *opaque, a_target_phys_addr offset)
|
||||
static uint32_t pxa2xx_mmci_readw(void *opaque, target_phys_addr_t offset)
|
||||
{
|
||||
PXA2xxMMCIState *s = (PXA2xxMMCIState *) opaque;
|
||||
s->ac_width = 4;
|
||||
|
@ -410,7 +410,7 @@ static CPUReadMemoryFunc * const pxa2xx_mmci_readfn[] = {
|
|||
};
|
||||
|
||||
static void pxa2xx_mmci_writeb(void *opaque,
|
||||
a_target_phys_addr offset, uint32_t value)
|
||||
target_phys_addr_t offset, uint32_t value)
|
||||
{
|
||||
PXA2xxMMCIState *s = (PXA2xxMMCIState *) opaque;
|
||||
s->ac_width = 1;
|
||||
|
@ -418,7 +418,7 @@ static void pxa2xx_mmci_writeb(void *opaque,
|
|||
}
|
||||
|
||||
static void pxa2xx_mmci_writeh(void *opaque,
|
||||
a_target_phys_addr offset, uint32_t value)
|
||||
target_phys_addr_t offset, uint32_t value)
|
||||
{
|
||||
PXA2xxMMCIState *s = (PXA2xxMMCIState *) opaque;
|
||||
s->ac_width = 2;
|
||||
|
@ -426,7 +426,7 @@ static void pxa2xx_mmci_writeh(void *opaque,
|
|||
}
|
||||
|
||||
static void pxa2xx_mmci_writew(void *opaque,
|
||||
a_target_phys_addr offset, uint32_t value)
|
||||
target_phys_addr_t offset, uint32_t value)
|
||||
{
|
||||
PXA2xxMMCIState *s = (PXA2xxMMCIState *) opaque;
|
||||
s->ac_width = 4;
|
||||
|
@ -517,7 +517,7 @@ static int pxa2xx_mmci_load(QEMUFile *f, void *opaque, int version_id)
|
|||
return 0;
|
||||
}
|
||||
|
||||
PXA2xxMMCIState *pxa2xx_mmci_init(a_target_phys_addr base,
|
||||
PXA2xxMMCIState *pxa2xx_mmci_init(target_phys_addr_t base,
|
||||
BlockDriverState *bd, qemu_irq irq, void *dma)
|
||||
{
|
||||
int iomemtype;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue