search for: apic_io_memory

Displaying 4 results from an estimated 4 matches for "apic_io_memory".

2009 Jun 05
1
[PATCHv3 07/13] qemu: minimal MSI/MSI-X implementation for PC
...ddr >> 4) & 0xff; switch(index) { case 0x02: s->id = (val >> 24); @@ -911,6 +945,7 @@ int apic_init(CPUState *env) s->cpu_env = env; apic_reset(s); + msix_supported = 1; /* XXX: mapping more APICs at the same memory location */ if (apic_io_memory == 0) { @@ -918,7 +953,8 @@ int apic_init(CPUState *env) on the global memory bus. */ apic_io_memory = cpu_register_io_memory(0, apic_mem_read, apic_mem_write, NULL); - cpu_register_physical_memory(s->apicbase & ~0x...
2009 Jun 05
1
[PATCHv3 07/13] qemu: minimal MSI/MSI-X implementation for PC
...ddr >> 4) & 0xff; switch(index) { case 0x02: s->id = (val >> 24); @@ -911,6 +945,7 @@ int apic_init(CPUState *env) s->cpu_env = env; apic_reset(s); + msix_supported = 1; /* XXX: mapping more APICs at the same memory location */ if (apic_io_memory == 0) { @@ -918,7 +953,8 @@ int apic_init(CPUState *env) on the global memory bus. */ apic_io_memory = cpu_register_io_memory(0, apic_mem_read, apic_mem_write, NULL); - cpu_register_physical_memory(s->apicbase & ~0x...
2009 Jun 21
0
[PATCHv2 RFC] qemu/msix: remove msix_supported safety flag
...ns(-) diff --git a/hw/apic.c b/hw/apic.c index 3bcab46..2ac87d1 100644 --- a/hw/apic.c +++ b/hw/apic.c @@ -965,7 +965,6 @@ int apic_init(CPUState *env) s->cpu_env = env; apic_reset(s); - msix_supported = 1; /* XXX: mapping more APICs at the same memory location */ if (apic_io_memory == 0) { diff --git a/hw/msix.c b/hw/msix.c index 773581f..6eb51c3 100644 --- a/hw/msix.c +++ b/hw/msix.c @@ -59,9 +59,6 @@ #define DEBUG(fmt, ...) do { } while(0) #endif -/* Flag for interrupt controller to declare MSI-X support */ -int msix_supported; - /* Add MSI-X capability to the config s...
2009 Jun 21
0
[PATCHv2 RFC] qemu/msix: remove msix_supported safety flag
...ns(-) diff --git a/hw/apic.c b/hw/apic.c index 3bcab46..2ac87d1 100644 --- a/hw/apic.c +++ b/hw/apic.c @@ -965,7 +965,6 @@ int apic_init(CPUState *env) s->cpu_env = env; apic_reset(s); - msix_supported = 1; /* XXX: mapping more APICs at the same memory location */ if (apic_io_memory == 0) { diff --git a/hw/msix.c b/hw/msix.c index 773581f..6eb51c3 100644 --- a/hw/msix.c +++ b/hw/msix.c @@ -59,9 +59,6 @@ #define DEBUG(fmt, ...) do { } while(0) #endif -/* Flag for interrupt controller to declare MSI-X support */ -int msix_supported; - /* Add MSI-X capability to the config s...