summaryrefslogtreecommitdiff
path: root/hw/xen_pt.h
diff options
context:
space:
mode:
authorAllen Kay <allen.m.kay@intel.com>2012-06-21 15:40:48 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-06-21 16:06:11 +0000
commit93d7ae8e77681bcdf537a2b5ff1febfd814d59c4 (patch)
tree3a848b83c7223a0aaf49348ca02c12a838f2f32c /hw/xen_pt.h
parenteaab4d60d3ad908936564492862e8a84f5fa59b2 (diff)
Introduce Xen PCI Passthrough, PCI config space helpers
A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay <allen.m.kay@intel.com> Signed-off-by: Guy Zana <guy@neocleus.com> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'hw/xen_pt.h')
-rw-r--r--hw/xen_pt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xen_pt.h b/hw/xen_pt.h
index 36001a736..4b76073b2 100644
--- a/hw/xen_pt.h
+++ b/hw/xen_pt.h
@@ -62,6 +62,8 @@ typedef int (*xen_pt_conf_byte_read)
#define XEN_PT_BAR_ALLF 0xFFFFFFFF
#define XEN_PT_BAR_UNMAPPED (-1)
+#define PCI_CAP_MAX 48
+
typedef enum {
XEN_PT_GRP_TYPE_HARDWIRED = 0, /* 0 Hardwired reg group */