Re: [Qemu-devel] [PATCH] ioapic: Convert to memory API

2011-10-17 Thread Avi Kivity
On 10/16/2011 07:21 PM, Jan Kiszka wrote: > From: Jan Kiszka > > Dispatching byte and word accesses like dwords looks strange, but let's > just convert mechanically. > > > -static CPUReadMemoryFunc * const ioapic_mem_read[3] = { > -ioapic_mem_readl, > -ioapic_mem_readl, > -ioapic_mem

[Qemu-devel] [PATCH] ioapic: Convert to memory API

2011-10-16 Thread Jan Kiszka
From: Jan Kiszka Dispatching byte and word accesses like dwords looks strange, but let's just convert mechanically. Signed-off-by: Jan Kiszka --- hw/ioapic.c | 24 +--- 1 files changed, 9 insertions(+), 15 deletions(-) diff --git a/hw/ioapic.c b/hw/ioapic.c index 61991d7