aboutsummaryrefslogtreecommitdiff
path: root/hw/lm32_sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/lm32_sys.c')
-rw-r--r--hw/lm32_sys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/lm32_sys.c b/hw/lm32_sys.c
index bbe03c41d5..a7887d14f6 100644
--- a/hw/lm32_sys.c
+++ b/hw/lm32_sys.c
@@ -61,7 +61,7 @@ static void copy_testname(LM32SysState *s)
s->testname[MAX_TESTNAME_LEN - 1] = '\0';
}
-static void sys_write(void *opaque, target_phys_addr_t addr,
+static void sys_write(void *opaque, hwaddr addr,
uint64_t value, unsigned size)
{
LM32SysState *s = opaque;
@@ -91,7 +91,7 @@ static void sys_write(void *opaque, target_phys_addr_t addr,
}
}
-static bool sys_ops_accepts(void *opaque, target_phys_addr_t addr,
+static bool sys_ops_accepts(void *opaque, hwaddr addr,
unsigned size, bool is_write)
{
return is_write && size == 4;