diff options
Diffstat (limited to 'hw/unin_pci.c')
-rw-r--r-- | hw/unin_pci.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/unin_pci.c b/hw/unin_pci.c index a202153922..76a5f2e61e 100644 --- a/hw/unin_pci.c +++ b/hw/unin_pci.c @@ -35,7 +35,7 @@ #define UNIN_DPRINTF(fmt, ...) #endif -typedef target_phys_addr_t pci_addr_t; +typedef a_target_phys_addr a_pci_addr; #include "pci_host.h" typedef struct UNINState { @@ -43,7 +43,7 @@ typedef struct UNINState { PCIHostState host_state; } UNINState; -static void pci_unin_main_config_writel (void *opaque, target_phys_addr_t addr, +static void pci_unin_main_config_writel (void *opaque, a_target_phys_addr addr, uint32_t val) { UNINState *s = opaque; @@ -57,7 +57,7 @@ static void pci_unin_main_config_writel (void *opaque, target_phys_addr_t addr, } static uint32_t pci_unin_main_config_readl (void *opaque, - target_phys_addr_t addr) + a_target_phys_addr addr) { UNINState *s = opaque; uint32_t val; @@ -95,7 +95,7 @@ static CPUReadMemoryFunc * const pci_unin_main_read[] = { &pci_host_data_readl, }; -static void pci_unin_config_writel (void *opaque, target_phys_addr_t addr, +static void pci_unin_config_writel (void *opaque, a_target_phys_addr addr, uint32_t val) { UNINState *s = opaque; @@ -104,7 +104,7 @@ static void pci_unin_config_writel (void *opaque, target_phys_addr_t addr, } static uint32_t pci_unin_config_readl (void *opaque, - target_phys_addr_t addr) + a_target_phys_addr addr) { UNINState *s = opaque; |