diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-30 22:39:56 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-30 22:39:56 +0000 |
commit | 3a5c3138520104e9ed453867a50f4303e574c5ec (patch) | |
tree | 628186679efbab92f8376ce183c241f998dceac1 /hw | |
parent | af7bf89b1f525bb684f48ed0e847ad2d2d11c5e5 (diff) |
64 bit fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1252 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r-- | hw/slavio_serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/slavio_serial.c b/hw/slavio_serial.c index 348f328f5a..3dfac0af59 100644 --- a/hw/slavio_serial.c +++ b/hw/slavio_serial.c @@ -97,7 +97,7 @@ static void slavio_serial_reset(void *opaque) slavio_serial_reset_chn(&s->chn[1]); } -static void slavio_serial_mem_writeb(void *opaque, uint32_t addr, uint32_t val) +static void slavio_serial_mem_writeb(void *opaque, target_phys_addr_t addr, uint32_t val) { SerialState *ser = opaque; ChannelState *s; @@ -170,7 +170,7 @@ static void slavio_serial_mem_writeb(void *opaque, uint32_t addr, uint32_t val) } } -static uint32_t slavio_serial_mem_readb(void *opaque, uint32_t addr) +static uint32_t slavio_serial_mem_readb(void *opaque, target_phys_addr_t addr) { SerialState *ser = opaque; ChannelState *s; |