diff options
author | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-14 01:50:49 +0000 |
---|---|---|
committer | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-14 01:50:49 +0000 |
commit | ca87d03b77aade91926972b7e20b5382b59d1c77 (patch) | |
tree | e3849cdee7f002d70416a18183ef4861d1804bc8 /hw/etraxfs_pic.c | |
parent | 05ba7d5f3476de8b573aed43229bbcf0ffda4b69 (diff) |
Made the etrax timers and serial-ports base address relocatable. Use target_phys_addr_t instead of target_ulong.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4058 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/etraxfs_pic.c')
-rw-r--r-- | hw/etraxfs_pic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/etraxfs_pic.c b/hw/etraxfs_pic.c index 980d61c255..a656a265d1 100644 --- a/hw/etraxfs_pic.c +++ b/hw/etraxfs_pic.c @@ -30,7 +30,7 @@ struct fs_pic_state_t { CPUState *env; - target_ulong base; + target_phys_addr_t base; uint32_t rw_mask; /* Active interrupt lines. */ @@ -186,7 +186,7 @@ static void etraxfs_pic_handler(void *opaque, int irq, int level) } } -qemu_irq *etraxfs_pic_init(CPUState *env, target_ulong base) +qemu_irq *etraxfs_pic_init(CPUState *env, target_phys_addr_t base) { struct fs_pic_state_t *fs; qemu_irq *pic; |