aboutsummaryrefslogtreecommitdiff
path: root/hw/sbi.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/sbi.c')
-rw-r--r--hw/sbi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/sbi.c b/hw/sbi.c
index 52982a9a3e..ca78a384c7 100644
--- a/hw/sbi.c
+++ b/hw/sbi.c
@@ -52,7 +52,7 @@ static void sbi_set_irq(void *opaque, int irq, int level)
{
}
-static uint64_t sbi_mem_read(void *opaque, target_phys_addr_t addr,
+static uint64_t sbi_mem_read(void *opaque, hwaddr addr,
unsigned size)
{
SBIState *s = opaque;
@@ -69,7 +69,7 @@ static uint64_t sbi_mem_read(void *opaque, target_phys_addr_t addr,
return ret;
}
-static void sbi_mem_write(void *opaque, target_phys_addr_t addr,
+static void sbi_mem_write(void *opaque, hwaddr addr,
uint64_t val, unsigned dize)
{
SBIState *s = opaque;