diff options
author | Isaku Yamahata | 2009-10-30 13:21:03 +0100 |
---|---|---|
committer | Anthony Liguori | 2009-11-09 15:43:07 +0100 |
commit | 0392a017ae9b44dd5c29bf7769a96fd6806a3551 (patch) | |
tree | c35a15a25e94fd763bfa99c402fccd2cbc11bfb6 /hw/openpic.c | |
parent | pci: clean up pci_init_wmask() (diff) | |
download | qemu-0392a017ae9b44dd5c29bf7769a96fd6806a3551.tar.gz qemu-0392a017ae9b44dd5c29bf7769a96fd6806a3551.tar.xz qemu-0392a017ae9b44dd5c29bf7769a96fd6806a3551.zip |
pci: s/PCI_ADDRESS_SPACE_/PCI_BASE_ADDRESS_SPACE_/ to match pci_regs.h
make constants for pci base address match pci_regs.h by
renaming PCI_ADDRESS_SPACE_xxx to PCI_BASE_ADDRESS_SPACE_xxx.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/openpic.c')
-rw-r--r-- | hw/openpic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/openpic.c b/hw/openpic.c index ebf441c4b7..f73fd6338c 100644 --- a/hw/openpic.c +++ b/hw/openpic.c @@ -1213,7 +1213,7 @@ qemu_irq *openpic_init (PCIBus *bus, int *pmem_index, int nb_cpus, /* Register I/O spaces */ pci_register_bar((PCIDevice *)opp, 0, 0x40000, - PCI_ADDRESS_SPACE_MEM, &openpic_map); + PCI_BASE_ADDRESS_SPACE_MEMORY, &openpic_map); } else { opp = qemu_mallocz(sizeof(openpic_t)); } |