hw/ppc/ppc4xx_pci: Extract PCI host definitions to hw/pci-host/ppc4xx.h
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20240215105017.57748-3-philmd@linaro.org>
This commit is contained in:
parent
d0e870f447
commit
4d641f36e7
@ -2070,6 +2070,7 @@ F: hw/ppc/ppc4xx*.c
|
||||
F: hw/ppc/ppc440_uc.c
|
||||
F: hw/ppc/ppc440.h
|
||||
F: hw/i2c/ppc4xx_i2c.c
|
||||
F: include/hw/pci-host/ppc4xx.h
|
||||
F: include/hw/ppc/ppc4xx.h
|
||||
F: include/hw/i2c/ppc4xx_i2c.h
|
||||
F: hw/intc/ppc-uic.c
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "elf.h"
|
||||
#include "hw/char/serial.h"
|
||||
#include "hw/ppc/ppc.h"
|
||||
#include "hw/pci-host/ppc4xx.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "sysemu/reset.h"
|
||||
#include "hw/sysbus.h"
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "qemu/module.h"
|
||||
#include "qemu/units.h"
|
||||
#include "hw/irq.h"
|
||||
#include "hw/ppc/ppc4xx.h"
|
||||
#include "hw/pci-host/ppc4xx.h"
|
||||
#include "hw/pci/pci_device.h"
|
||||
#include "hw/pci/pci_host.h"
|
||||
#include "trace.h"
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include "qemu/log.h"
|
||||
#include "hw/irq.h"
|
||||
#include "hw/ppc/ppc4xx.h"
|
||||
#include "hw/pci-host/ppc4xx.h"
|
||||
#include "hw/qdev-properties.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "sysemu/reset.h"
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/log.h"
|
||||
#include "hw/irq.h"
|
||||
#include "hw/ppc/ppc4xx.h"
|
||||
#include "hw/pci-host/ppc4xx.h"
|
||||
#include "migration/vmstate.h"
|
||||
#include "qemu/module.h"
|
||||
#include "sysemu/reset.h"
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "elf.h"
|
||||
#include "exec/memory.h"
|
||||
#include "ppc440.h"
|
||||
#include "hw/pci-host/ppc4xx.h"
|
||||
#include "hw/block/flash.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "sysemu/reset.h"
|
||||
|
17
include/hw/pci-host/ppc4xx.h
Normal file
17
include/hw/pci-host/ppc4xx.h
Normal file
@ -0,0 +1,17 @@
|
||||
/*
|
||||
* QEMU PowerPC 4xx PCI-host definitions
|
||||
*
|
||||
* Copyright (c) 2018-2023 BALATON Zoltan
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
#ifndef HW_PCIHOST_PPC4XX_H
|
||||
#define HW_PCIHOST_PPC4XX_H
|
||||
|
||||
#define TYPE_PPC4xx_HOST_BRIDGE "ppc4xx-host-bridge"
|
||||
#define TYPE_PPC4xx_PCI_HOST "ppc4xx-pci-host"
|
||||
#define TYPE_PPC440_PCIX_HOST "ppc440-pcix-host"
|
||||
#define TYPE_PPC460EX_PCIE_HOST "ppc460ex-pcie-host"
|
||||
|
||||
#endif
|
@ -29,11 +29,6 @@
|
||||
#include "exec/memory.h"
|
||||
#include "hw/sysbus.h"
|
||||
|
||||
#define TYPE_PPC4xx_HOST_BRIDGE "ppc4xx-host-bridge"
|
||||
#define TYPE_PPC4xx_PCI_HOST "ppc4xx-pci-host"
|
||||
#define TYPE_PPC440_PCIX_HOST "ppc440-pcix-host"
|
||||
#define TYPE_PPC460EX_PCIE_HOST "ppc460ex-pcie-host"
|
||||
|
||||
/*
|
||||
* Generic DCR device
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user