2 * Jailhouse, a Linux-based partitioning hypervisor
4 * Copyright (c) Siemens AG, 2014-2015
7 * Jan Kiszka <jan.kiszka@siemens.com>
8 * Henning Schild <henning.schild@siemens.com>
10 * This work is licensed under the terms of the GNU GPL, version 2. See
11 * the COPYING file in the top-level directory.
17 JAILHOUSE_PCI_ACTION_ADD, JAILHOUSE_PCI_ACTION_DEL,
18 JAILHOUSE_PCI_ACTION_CLAIM, JAILHOUSE_PCI_ACTION_RELEASE,
23 void jailhouse_pci_do_all_devices(struct cell *cell, unsigned int type,
25 int jailhouse_pci_cell_setup(struct cell *cell,
26 const struct jailhouse_cell_desc *cell_desc);
27 void jailhouse_pci_cell_cleanup(struct cell *cell);
28 int jailhouse_pci_register(void);
29 void jailhouse_pci_unregister(void);
31 #else /* !CONFIG_PCI */
34 jailhouse_pci_do_all_devices(struct cell *cell, unsigned int type,
40 jailhouse_pci_cell_setup(struct cell *cell,
41 const struct jailhouse_cell_desc *cell_desc)
46 static inline void jailhouse_pci_cell_cleanup(struct cell *cell)
50 static inline int jailhouse_pci_register(void)
55 static inline void jailhouse_pci_unregister(void)
59 #endif /* !CONFIG_PCI */