Displaying 4 results from an estimated 4 matches for "ioapic_num_pin".
Did you mean:
ioapic_num_pins
2008 Jun 27
8
PCI device assignment to guests
The main change from the patches I sent out earlier this week is support for guests that use the PIC. A callback for PIC irq ack handling is also introduced.
Currently, there's no mechanism to register/unregister callers to the irq ack callbacks, but they can be added when there's more than one user for the functionality.
Please review.
2008 Jun 27
8
PCI device assignment to guests
The main change from the patches I sent out earlier this week is support for guests that use the PIC. A callback for PIC irq ack handling is also introduced.
Currently, there's no mechanism to register/unregister callers to the irq ack callbacks, but they can be added when there's more than one user for the functionality.
Please review.
2009 May 20
9
[PATCH] qemu: msi irq allocation api
...I_ADDR_DEST_MODE_SHIFT 2
+#define MSI_DATA_TRIGGER_SHIFT 15
+#define MSI_ADDR_DEST_ID_SHIFT 12
+#define MSI_ADDR_DEST_ID_MASK 0x00ffff0
+#define MSI_DATA_LEVEL_SHIFT 14
+
struct IOAPICState {
uint8_t id;
uint8_t ioregsel;
@@ -51,6 +62,11 @@ struct IOAPICState {
uint64_t ioredtbl[IOAPIC_NUM_PINS];
};
+struct msi_state {
+ uint64_t addr;
+ uint32_t data;
+};
+
static void ioapic_service(IOAPICState *s)
{
uint8_t i;
@@ -259,3 +275,52 @@ IOAPICState *ioapic_init(void)
return s;
}
+
+/* MSI/MSI-X support */
+static void ioapic_send_msi(void *opaque, int irq, int level)...
2009 May 20
9
[PATCH] qemu: msi irq allocation api
...I_ADDR_DEST_MODE_SHIFT 2
+#define MSI_DATA_TRIGGER_SHIFT 15
+#define MSI_ADDR_DEST_ID_SHIFT 12
+#define MSI_ADDR_DEST_ID_MASK 0x00ffff0
+#define MSI_DATA_LEVEL_SHIFT 14
+
struct IOAPICState {
uint8_t id;
uint8_t ioregsel;
@@ -51,6 +62,11 @@ struct IOAPICState {
uint64_t ioredtbl[IOAPIC_NUM_PINS];
};
+struct msi_state {
+ uint64_t addr;
+ uint32_t data;
+};
+
static void ioapic_service(IOAPICState *s)
{
uint8_t i;
@@ -259,3 +275,52 @@ IOAPICState *ioapic_init(void)
return s;
}
+
+/* MSI/MSI-X support */
+static void ioapic_send_msi(void *opaque, int irq, int level)...