HAOUAS Elyes (ehaouas@noos.fr) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6471
-gerrit
commit 7620e90cdf1cccaf96145607287cc1d011d0b98b Author: Elyes HAOUAS ehaouas@noos.fr Date: Sun Aug 3 08:57:52 2014 +0200
emulation qemu-i440fx & qemu-q35: use pci_devfn_t
Change-Id: Iaacec42d753cd15bd59f79f15445d40da664e78a Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- src/mainboard/emulation/qemu-i440fx/mainboard.c | 2 +- src/mainboard/emulation/qemu-i440fx/northbridge.c | 2 +- src/mainboard/emulation/qemu-q35/acpi_tables.c | 2 +- src/mainboard/emulation/qemu-q35/mainboard.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/mainboard/emulation/qemu-i440fx/mainboard.c b/src/mainboard/emulation/qemu-i440fx/mainboard.c index a8a61c4..f776364 100644 --- a/src/mainboard/emulation/qemu-i440fx/mainboard.c +++ b/src/mainboard/emulation/qemu-i440fx/mainboard.c @@ -30,7 +30,7 @@ static const unsigned char qemu_i440fx_irqs[] = { 11, 10, 10, 11, };
-static void qemu_nb_init(device_t dev) +static void qemu_nb_init(pci_devfn_t dev) { /* Map memory at 0xc0000 - 0xfffff */ int i; diff --git a/src/mainboard/emulation/qemu-i440fx/northbridge.c b/src/mainboard/emulation/qemu-i440fx/northbridge.c index 0f8c0c2..116f4dc 100644 --- a/src/mainboard/emulation/qemu-i440fx/northbridge.c +++ b/src/mainboard/emulation/qemu-i440fx/northbridge.c @@ -46,7 +46,7 @@ static void qemu_reserve_ports(struct device *dev, unsigned int idx, IORESOURCE_ASSIGNED; }
-static void cpu_pci_domain_set_resources(device_t dev) +static void cpu_pci_domain_set_resources(pci_devfn_t dev) { assign_resources(dev->link_list); } diff --git a/src/mainboard/emulation/qemu-q35/acpi_tables.c b/src/mainboard/emulation/qemu-q35/acpi_tables.c index 4e79b2c..7f62af1 100644 --- a/src/mainboard/emulation/qemu-q35/acpi_tables.c +++ b/src/mainboard/emulation/qemu-q35/acpi_tables.c @@ -200,7 +200,7 @@ unsigned long acpi_fill_slit(unsigned long current)
unsigned long acpi_fill_mcfg(unsigned long current) { - device_t dev; + pci_devfn_t dev; u32 reg;
dev = dev_find_device(0x8086, 0x29c0, 0); diff --git a/src/mainboard/emulation/qemu-q35/mainboard.c b/src/mainboard/emulation/qemu-q35/mainboard.c index e991b53..7a8a97c 100644 --- a/src/mainboard/emulation/qemu-q35/mainboard.c +++ b/src/mainboard/emulation/qemu-q35/mainboard.c @@ -33,7 +33,7 @@ static const unsigned char qemu_q35_irqs[] = { 10, 10, 11, 11, };
-static void qemu_nb_init(device_t dev) +static void qemu_nb_init(pci_devfn_t dev) { /* Map memory at 0xc0000 - 0xfffff */ int i;