From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMgmf-0005mk-Gi for qemu-devel@nongnu.org; Sat, 14 Feb 2015 12:45:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMgmX-0005Gm-Sq for qemu-devel@nongnu.org; Sat, 14 Feb 2015 12:45:37 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:39489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMgmX-0005GY-F3 for qemu-devel@nongnu.org; Sat, 14 Feb 2015 12:45:29 -0500 From: Leon Alrae Date: Sat, 14 Feb 2015 17:44:55 +0000 Message-ID: <1423935904-29405-6-git-send-email-leon.alrae@imgtec.com> In-Reply-To: <1423935904-29405-1-git-send-email-leon.alrae@imgtec.com> References: <1423935904-29405-1-git-send-email-leon.alrae@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL v2 05/14] piix4: use PCI address space instead of system memory List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Herv=C3=A9=20Poussineau?= From: Herv=C3=A9 Poussineau piix4 is only used on MIPS Malta board, which gives get_system_memory() to pci_register_bus(). Signed-off-by: Herv=C3=A9 Poussineau Signed-off-by: Leon Alrae --- hw/isa/piix4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c index 0cacc3b..a9916df 100644 --- a/hw/isa/piix4.c +++ b/hw/isa/piix4.c @@ -86,7 +86,7 @@ static int piix4_initfn(PCIDevice *dev) { PIIX4State *d =3D DO_UPCAST(PIIX4State, dev, dev); =20 - isa_bus_new(DEVICE(d), get_system_memory(), + isa_bus_new(DEVICE(d), pci_address_space(dev), pci_address_space_io(dev)); piix4_dev =3D &d->dev; qemu_register_reset(piix4_reset, d); --=20 2.1.0