aboutsummaryrefslogtreecommitdiff
path: root/hw/grackle_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/grackle_pci.c')
-rw-r--r--hw/grackle_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/grackle_pci.c b/hw/grackle_pci.c
index d878cf6748..555abd5c45 100644
--- a/hw/grackle_pci.c
+++ b/hw/grackle_pci.c
@@ -37,7 +37,7 @@
#define GRACKLE_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 GrackleState {
@@ -45,7 +45,7 @@ typedef struct GrackleState {
PCIHostState host_state;
} GrackleState;
-static void pci_grackle_config_writel (void *opaque, target_phys_addr_t addr,
+static void pci_grackle_config_writel (void *opaque, a_target_phys_addr addr,
uint32_t val)
{
GrackleState *s = opaque;
@@ -58,7 +58,7 @@ static void pci_grackle_config_writel (void *opaque, target_phys_addr_t addr,
s->host_state.config_reg = val;
}
-static uint32_t pci_grackle_config_readl (void *opaque, target_phys_addr_t addr)
+static uint32_t pci_grackle_config_readl (void *opaque, a_target_phys_addr addr)
{
GrackleState *s = opaque;
uint32_t val;