summaryrefslogtreecommitdiff
path: root/hw/esp-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/esp-pci.c')
-rw-r--r--hw/esp-pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/esp-pci.c b/hw/esp-pci.c
index 170e007be9..d9a8e59c98 100644
--- a/hw/esp-pci.c
+++ b/hw/esp-pci.c
@@ -159,7 +159,7 @@ static uint32_t esp_pci_dma_read(PCIESPState *pci, uint32_t saddr)
return val;
}
-static void esp_pci_io_write(void *opaque, target_phys_addr_t addr,
+static void esp_pci_io_write(void *opaque, hwaddr addr,
uint64_t val, unsigned int size)
{
PCIESPState *pci = opaque;
@@ -202,7 +202,7 @@ static void esp_pci_io_write(void *opaque, target_phys_addr_t addr,
}
}
-static uint64_t esp_pci_io_read(void *opaque, target_phys_addr_t addr,
+static uint64_t esp_pci_io_read(void *opaque, hwaddr addr,
unsigned int size)
{
PCIESPState *pci = opaque;