Commit fdf41d225e8c90f2822b4c706552e005837218a5
1 parent
49e9fba2
Replace target_ulong with target_phys_addr_t
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2899 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
hw/apb_pci.c
... | ... | @@ -206,13 +206,13 @@ static void pci_apb_set_irq(qemu_irq *pic, int irq_num, int level) |
206 | 206 | qemu_set_irq(pic[irq_num], level); |
207 | 207 | } |
208 | 208 | |
209 | -PCIBus *pci_apb_init(target_ulong special_base, target_ulong mem_base, | |
209 | +PCIBus *pci_apb_init(target_phys_addr_t special_base, | |
210 | + target_phys_addr_t mem_base, | |
210 | 211 | qemu_irq *pic) |
211 | 212 | { |
212 | 213 | APBState *s; |
213 | 214 | PCIDevice *d; |
214 | 215 | int pci_mem_config, pci_mem_data, apb_config, pci_ioport; |
215 | - PCIDevice *apb; | |
216 | 216 | PCIBus *secondary; |
217 | 217 | |
218 | 218 | s = qemu_mallocz(sizeof(APBState)); | ... | ... |