64 bit fix

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1252 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2005-01-30 22:39:56 +00:00
parent af7bf89b1f
commit 3a5c313852

View File

@ -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;