Go to the documentation of this file.
21 #ifndef __XEN_PUBLIC_PHYSDEV_H__
22 #define __XEN_PUBLIC_PHYSDEV_H__
35 #define PHYSDEVOP_eoi 12
48 #define PHYSDEVOP_pirq_eoi_gmfn_v1 17
56 #define PHYSDEVOP_pirq_eoi_gmfn_v2 28
66 #define PHYSDEVOP_irq_status_query 5
75 #define _XENIRQSTAT_needs_eoi (0)
76 #define XENIRQSTAT_needs_eoi (1U<<_XENIRQSTAT_needs_eoi)
79 #define _XENIRQSTAT_shared (1)
80 #define XENIRQSTAT_shared (1U<<_XENIRQSTAT_shared)
86 #define PHYSDEVOP_set_iopl 6
96 #define PHYSDEVOP_set_iobitmap 7
107 #define PHYSDEVOP_apic_read 8
108 #define PHYSDEVOP_apic_write 9
121 #define PHYSDEVOP_alloc_irq_vector 10
122 #define PHYSDEVOP_free_irq_vector 11
130 #define MAP_PIRQ_TYPE_MSI 0x0
131 #define MAP_PIRQ_TYPE_GSI 0x1
132 #define MAP_PIRQ_TYPE_UNKNOWN 0x2
133 #define MAP_PIRQ_TYPE_MSI_SEG 0x3
135 #define PHYSDEVOP_map_pirq 13
154 #define PHYSDEVOP_unmap_pirq 14
161 #define PHYSDEVOP_manage_pci_add 15
162 #define PHYSDEVOP_manage_pci_remove 16
169 #define PHYSDEVOP_restore_msi 19
176 #define PHYSDEVOP_manage_pci_add_ext 20
204 #define PHYSDEVOP_setup_gsi 21
214 #define PHYSDEVOP_get_nr_pirqs 22
222 #define PHYSDEVOP_get_free_pirq 23
230 #define XEN_PCI_DEV_EXTFN 0x1
231 #define XEN_PCI_DEV_VIRTFN 0x2
232 #define XEN_PCI_DEV_PXM 0x4
234 #define PHYSDEVOP_pci_device_add 25
245 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
247 #elif defined(__GNUC__)
252 #define PHYSDEVOP_pci_device_remove 26
253 #define PHYSDEVOP_restore_msi_ext 27
261 #define PHYSDEVOP_DBGP_RESET_PREPARE 1
262 #define PHYSDEVOP_DBGP_RESET_DONE 2
264 #define PHYSDEVOP_DBGP_BUS_UNKNOWN 0
265 #define PHYSDEVOP_DBGP_BUS_PCI 1
267 #define PHYSDEVOP_dbgp_op 29
282 #define PHYSDEVOP_IRQ_UNMASK_NOTIFY 4
288 #define PHYSDEVOP_IRQ_STATUS_QUERY PHYSDEVOP_irq_status_query
289 #define PHYSDEVOP_SET_IOPL PHYSDEVOP_set_iopl
290 #define PHYSDEVOP_SET_IOBITMAP PHYSDEVOP_set_iobitmap
291 #define PHYSDEVOP_APIC_READ PHYSDEVOP_apic_read
292 #define PHYSDEVOP_APIC_WRITE PHYSDEVOP_apic_write
293 #define PHYSDEVOP_ASSIGN_VECTOR PHYSDEVOP_alloc_irq_vector
294 #define PHYSDEVOP_FREE_VECTOR PHYSDEVOP_free_irq_vector
295 #define PHYSDEVOP_IRQ_NEEDS_UNMASK_NOTIFY XENIRQSTAT_needs_eoi
296 #define PHYSDEVOP_IRQ_SHARED XENIRQSTAT_shared