mirror of https://gitee.com/openkylin/qemu.git
Replace target_ulong with target_phys_addr_t
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2899 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
49e9fba271
commit
fdf41d225e
|
@ -206,13 +206,13 @@ static void pci_apb_set_irq(qemu_irq *pic, int irq_num, int level)
|
|||
qemu_set_irq(pic[irq_num], level);
|
||||
}
|
||||
|
||||
PCIBus *pci_apb_init(target_ulong special_base, target_ulong mem_base,
|
||||
PCIBus *pci_apb_init(target_phys_addr_t special_base,
|
||||
target_phys_addr_t mem_base,
|
||||
qemu_irq *pic)
|
||||
{
|
||||
APBState *s;
|
||||
PCIDevice *d;
|
||||
int pci_mem_config, pci_mem_data, apb_config, pci_ioport;
|
||||
PCIDevice *apb;
|
||||
PCIBus *secondary;
|
||||
|
||||
s = qemu_mallocz(sizeof(APBState));
|
||||
|
|
Loading…
Reference in New Issue