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
|
@ -111,7 +111,7 @@ typedef struct {
|
|||
uint32_t htest;
|
||||
|
||||
/* SM501 local memory offset */
|
||||
a_target_phys_addr localmem_base;
|
||||
target_phys_addr_t localmem_base;
|
||||
|
||||
/* Active packets. */
|
||||
uint32_t old_ctl;
|
||||
|
@ -1398,7 +1398,7 @@ static void ohci_port_set_status(OHCIState *ohci, int portnum, uint32_t val)
|
|||
return;
|
||||
}
|
||||
|
||||
static uint32_t ohci_mem_read(void *ptr, a_target_phys_addr addr)
|
||||
static uint32_t ohci_mem_read(void *ptr, target_phys_addr_t addr)
|
||||
{
|
||||
OHCIState *ohci = ptr;
|
||||
uint32_t retval;
|
||||
|
@ -1522,7 +1522,7 @@ static uint32_t ohci_mem_read(void *ptr, a_target_phys_addr addr)
|
|||
return retval;
|
||||
}
|
||||
|
||||
static void ohci_mem_write(void *ptr, a_target_phys_addr addr, uint32_t val)
|
||||
static void ohci_mem_write(void *ptr, target_phys_addr_t addr, uint32_t val)
|
||||
{
|
||||
OHCIState *ohci = ptr;
|
||||
|
||||
|
@ -1739,7 +1739,7 @@ void usb_ohci_init_pci(struct PCIBus *bus, int devfn)
|
|||
pci_create_simple(bus, devfn, "OHCI USB PCI");
|
||||
}
|
||||
|
||||
void usb_ohci_init_pxa(a_target_phys_addr base, int num_ports, int devfn,
|
||||
void usb_ohci_init_pxa(target_phys_addr_t base, int num_ports, int devfn,
|
||||
qemu_irq irq)
|
||||
{
|
||||
OHCIState *ohci = (OHCIState *)qemu_mallocz(sizeof(OHCIState));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue