aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2013-08-28 10:12:36 +0200
committerJan Beulich <jbeulich@suse.com>2013-08-28 10:12:36 +0200
commitaa4b2aea4fa300341668971e50fbfd16b1ed925d (patch)
tree58cc54354404464bc163272fbc696ce858c06b36 /xen/include/xen
parentdcbff3aeac6020cdf1f5bd0f0eb0d329fc55d939 (diff)
downloadxen-aa4b2aea4fa300341668971e50fbfd16b1ed925d.tar.gz
xen-aa4b2aea4fa300341668971e50fbfd16b1ed925d.tar.bz2
xen-aa4b2aea4fa300341668971e50fbfd16b1ed925d.zip
PCI: centralize parsing of device coordinates in command line options
With yet another case to come in a subsequent patch, it seems time to do this in a single place rather than hand crafting it in various scattered around locations. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/xen')
-rw-r--r--xen/include/xen/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/xen/pci.h b/xen/include/xen/pci.h
index c367736b21..3003803af6 100644
--- a/xen/include/xen/pci.h
+++ b/xen/include/xen/pci.h
@@ -139,6 +139,8 @@ int pci_mmcfg_write(unsigned int seg, unsigned int bus,
int pci_find_cap_offset(u16 seg, u8 bus, u8 dev, u8 func, u8 cap);
int pci_find_next_cap(u16 seg, u8 bus, unsigned int devfn, u8 pos, int cap);
int pci_find_ext_capability(int seg, int bus, int devfn, int cap);
+const char *parse_pci(const char *, unsigned int *seg, unsigned int *bus,
+ unsigned int *dev, unsigned int *func);
struct pirq;
int msixtbl_pt_register(struct domain *, struct pirq *, uint64_t gtable);