mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
hw: move private headers to hw/ subdirectories.
Many headers are used only in a single directory. These can be kept in hw/. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
8d8b636d28
commit
47b43a1f41
141 changed files with 169 additions and 169 deletions
|
@ -23,7 +23,7 @@
|
|||
#include "hw/pci/pci_ids.h"
|
||||
#include "hw/pci/msi.h"
|
||||
#include "hw/pci/pcie.h"
|
||||
#include "hw/ioh3420.h"
|
||||
#include "ioh3420.h"
|
||||
|
||||
#define PCI_DEVICE_ID_IOH_EPORT 0x3420 /* D0:F0 express mode */
|
||||
#define PCI_DEVICE_ID_IOH_REV 0x2
|
||||
|
|
10
hw/pci-bridge/ioh3420.h
Normal file
10
hw/pci-bridge/ioh3420.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#ifndef QEMU_IOH3420_H
|
||||
#define QEMU_IOH3420_H
|
||||
|
||||
#include "hw/pci/pcie_port.h"
|
||||
|
||||
PCIESlot *ioh3420_init(PCIBus *bus, int devfn, bool multifunction,
|
||||
const char *bus_name, pci_map_irq_fn map_irq,
|
||||
uint8_t port, uint8_t chassis, uint16_t slot);
|
||||
|
||||
#endif /* QEMU_IOH3420_H */
|
|
@ -22,7 +22,7 @@
|
|||
#include "hw/pci/pci_ids.h"
|
||||
#include "hw/pci/msi.h"
|
||||
#include "hw/pci/pcie.h"
|
||||
#include "hw/xio3130_downstream.h"
|
||||
#include "xio3130_downstream.h"
|
||||
|
||||
#define PCI_DEVICE_ID_TI_XIO3130D 0x8233 /* downstream port */
|
||||
#define XIO3130_REVISION 0x1
|
||||
|
|
11
hw/pci-bridge/xio3130_downstream.h
Normal file
11
hw/pci-bridge/xio3130_downstream.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#ifndef QEMU_XIO3130_DOWNSTREAM_H
|
||||
#define QEMU_XIO3130_DOWNSTREAM_H
|
||||
|
||||
#include "hw/pci/pcie_port.h"
|
||||
|
||||
PCIESlot *xio3130_downstream_init(PCIBus *bus, int devfn, bool multifunction,
|
||||
const char *bus_name, pci_map_irq_fn map_irq,
|
||||
uint8_t port, uint8_t chassis,
|
||||
uint16_t slot);
|
||||
|
||||
#endif /* QEMU_XIO3130_DOWNSTREAM_H */
|
|
@ -22,7 +22,7 @@
|
|||
#include "hw/pci/pci_ids.h"
|
||||
#include "hw/pci/msi.h"
|
||||
#include "hw/pci/pcie.h"
|
||||
#include "hw/xio3130_upstream.h"
|
||||
#include "xio3130_upstream.h"
|
||||
|
||||
#define PCI_DEVICE_ID_TI_XIO3130U 0x8232 /* upstream port */
|
||||
#define XIO3130_REVISION 0x2
|
||||
|
|
10
hw/pci-bridge/xio3130_upstream.h
Normal file
10
hw/pci-bridge/xio3130_upstream.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#ifndef QEMU_XIO3130_UPSTREAM_H
|
||||
#define QEMU_XIO3130_UPSTREAM_H
|
||||
|
||||
#include "hw/pci/pcie_port.h"
|
||||
|
||||
PCIEPort *xio3130_upstream_init(PCIBus *bus, int devfn, bool multifunction,
|
||||
const char *bus_name, pci_map_irq_fn map_irq,
|
||||
uint8_t port);
|
||||
|
||||
#endif /* QEMU_XIO3130_H */
|
Loading…
Add table
Add a link
Reference in a new issue