mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -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
|
@ -133,7 +133,7 @@ typedef struct ECCState {
|
|||
uint32_t version;
|
||||
} ECCState;
|
||||
|
||||
static void ecc_mem_writel(void *opaque, a_target_phys_addr addr, uint32_t val)
|
||||
static void ecc_mem_writel(void *opaque, target_phys_addr_t addr, uint32_t val)
|
||||
{
|
||||
ECCState *s = opaque;
|
||||
|
||||
|
@ -175,7 +175,7 @@ static void ecc_mem_writel(void *opaque, a_target_phys_addr addr, uint32_t val)
|
|||
}
|
||||
}
|
||||
|
||||
static uint32_t ecc_mem_readl(void *opaque, a_target_phys_addr addr)
|
||||
static uint32_t ecc_mem_readl(void *opaque, target_phys_addr_t 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, a_target_phys_addr addr,
|
||||
static void ecc_diag_mem_writeb(void *opaque, target_phys_addr_t addr,
|
||||
uint32_t val)
|
||||
{
|
||||
ECCState *s = opaque;
|
||||
|
@ -242,7 +242,7 @@ static void ecc_diag_mem_writeb(void *opaque, a_target_phys_addr addr,
|
|||
s->diag[addr & ECC_DIAG_MASK] = val;
|
||||
}
|
||||
|
||||
static uint32_t ecc_diag_mem_readb(void *opaque, a_target_phys_addr addr)
|
||||
static uint32_t ecc_diag_mem_readb(void *opaque, target_phys_addr_t addr)
|
||||
{
|
||||
ECCState *s = opaque;
|
||||
uint32_t ret = s->diag[(int)addr];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue