Displaying 2 results from an estimated 2 matches for "d5a1112".
Did you mean:
d51116
2009 May 20
9
[PATCH] qemu: msi irq allocation api
.../* MSI/MSI-X */
+
+struct pci_msi_ops {
+ qemu_irq *(*allocate)(int nentries);
+ int (*update)(qemu_irq, uint64_t addr, uint32_t data, int masked);
+ void (*free)(qemu_irq *);
+};
+
+extern struct pci_msi_ops *pci_msi_ops;
+
#endif
diff --git a/qemu-common.h b/qemu-common.h
index c90c3e3..d5a1112 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -178,6 +178,7 @@ typedef struct PCIDevice PCIDevice;
typedef struct SerialState SerialState;
typedef struct IRQState *qemu_irq;
struct pcmcia_card_s;
+struct pci_msi_ops;
/* CPU save/load. */
void cpu_save(QEMUFile *f, void *opaque);
--
1.6...
2009 May 20
9
[PATCH] qemu: msi irq allocation api
.../* MSI/MSI-X */
+
+struct pci_msi_ops {
+ qemu_irq *(*allocate)(int nentries);
+ int (*update)(qemu_irq, uint64_t addr, uint32_t data, int masked);
+ void (*free)(qemu_irq *);
+};
+
+extern struct pci_msi_ops *pci_msi_ops;
+
#endif
diff --git a/qemu-common.h b/qemu-common.h
index c90c3e3..d5a1112 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -178,6 +178,7 @@ typedef struct PCIDevice PCIDevice;
typedef struct SerialState SerialState;
typedef struct IRQState *qemu_irq;
struct pcmcia_card_s;
+struct pci_msi_ops;
/* CPU save/load. */
void cpu_save(QEMUFile *f, void *opaque);
--
1.6...