From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=42232 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUW4w-00039S-Ft for qemu-devel@nongnu.org; Thu, 01 Jul 2010 22:34:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUW4v-0001Nz-Dd for qemu-devel@nongnu.org; Thu, 01 Jul 2010 22:34:10 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:50412) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUW4v-0001Nh-3p for qemu-devel@nongnu.org; Thu, 01 Jul 2010 22:34:09 -0400 From: Isaku Yamahata Date: Fri, 2 Jul 2010 11:30:10 +0900 Message-Id: Subject: [Qemu-devel] [PATCH 0/2] pci: split out bridge code into pci_bridge List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: blauwirbel@gmail.com, yamahata@valinux.co.jp, mst@redhat.com Now pci.c has grown. So split bridge related code into dedicated file for further extension to pci bridge. Further clean up and pcie port emulator. This make patch conflict less possible in future. Isaku Yamahata (2): pci/bridge: allocate PCIBus dynamically for PCIBridge. pci/bridge: split out pci bridge code into pci_bridge.c from pci.c Makefile.objs | 2 +- hw/apb_pci.c | 1 + hw/dec_pci.c | 1 + hw/pci.c | 177 ++++------------------------------------------------- hw/pci.h | 9 ++- hw/pci_bridge.c | 184 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ hw/pci_bridge.h | 41 ++++++++++++ 7 files changed, 247 insertions(+), 168 deletions(-) create mode 100644 hw/pci_bridge.c create mode 100644 hw/pci_bridge.h