]> Git Repo - qemu.git/blobdiff - hw/sbi.c
target-mips: Replace macros by inline functions
[qemu.git] / hw / sbi.c
index 52982a9a3e1171d4978fc2a71c237e9c39cbb4d5..ca78a384c7a965ba718a4d526d4a1ddde76b4bb1 100644 (file)
--- 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;
This page took 0.025893 seconds and 4 git commands to generate.