mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
Rename pci_register_io_region() to pci_register_bar()
This function is used to manage a PCI BAR, so make the more generic pci_register_io_region() available to other uses. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
e9179ce1a0
commit
28c2c26495
21 changed files with 40 additions and 40 deletions
|
@ -451,7 +451,7 @@ static void i6300esb_pc_init(PCIBus *pci_bus)
|
|||
pci_config_set_class(pci_conf, PCI_CLASS_SYSTEM_OTHER);
|
||||
pci_conf[0x0e] = 0x00;
|
||||
|
||||
pci_register_io_region(&d->dev, 0, 0x10,
|
||||
pci_register_bar(&d->dev, 0, 0x10,
|
||||
PCI_ADDRESS_SPACE_MEM, i6300esb_map);
|
||||
|
||||
register_savevm("i6300esb_wdt", -1, sizeof(I6300State),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue