Go to the documentation of this file.
24 #ifndef __XEN_PCI_COMMON_H__
25 #define __XEN_PCI_COMMON_H__
28 #define XEN_PCI_MAGIC "7"
31 #define _XEN_PCIF_active (0)
32 #define XEN_PCIF_active (1<<_XEN_PCIF_active)
33 #define _XEN_PCIB_AERHANDLER (1)
34 #define XEN_PCIB_AERHANDLER (1<<_XEN_PCIB_AERHANDLER)
35 #define _XEN_PCIB_active (2)
36 #define XEN_PCIB_active (1<<_XEN_PCIB_active)
39 #define XEN_PCI_OP_conf_read (0)
40 #define XEN_PCI_OP_conf_write (1)
41 #define XEN_PCI_OP_enable_msi (2)
42 #define XEN_PCI_OP_disable_msi (3)
43 #define XEN_PCI_OP_enable_msix (4)
44 #define XEN_PCI_OP_disable_msix (5)
45 #define XEN_PCI_OP_aer_detected (6)
46 #define XEN_PCI_OP_aer_resume (7)
47 #define XEN_PCI_OP_aer_mmio (8)
48 #define XEN_PCI_OP_aer_slotreset (9)
51 #define XEN_PCI_ERR_success (0)
52 #define XEN_PCI_ERR_dev_not_found (-1)
53 #define XEN_PCI_ERR_invalid_offset (-2)
54 #define XEN_PCI_ERR_access_denied (-3)
55 #define XEN_PCI_ERR_not_implemented (-4)
57 #define XEN_PCI_ERR_op_failed (-5)
63 #define SH_INFO_MAX_VEC 128