#ifndef __PCI_BRIDGE_EMUL_H__
#define __PCI_BRIDGE_EMUL_H__
#include <linux/kernel.h>
struct pci_bridge_emul_conf { … };
struct pci_bridge_emul_pcie_conf { … };
struct pci_bridge_emul;
pci_bridge_emul_read_status_t;
struct pci_bridge_emul_ops { … };
struct pci_bridge_reg_behavior;
struct pci_bridge_emul { … };
enum { … };
int pci_bridge_emul_init(struct pci_bridge_emul *bridge,
unsigned int flags);
void pci_bridge_emul_cleanup(struct pci_bridge_emul *bridge);
int pci_bridge_emul_conf_read(struct pci_bridge_emul *bridge, int where,
int size, u32 *value);
int pci_bridge_emul_conf_write(struct pci_bridge_emul *bridge, int where,
int size, u32 value);
#endif