Revision d60efc6b hw/ioapic.c
b/hw/ioapic.c | ||
---|---|---|
229 | 229 |
s->ioredtbl[i] = 1 << 16; /* mask LVT */ |
230 | 230 |
} |
231 | 231 |
|
232 |
static CPUReadMemoryFunc *ioapic_mem_read[3] = { |
|
232 |
static CPUReadMemoryFunc * const ioapic_mem_read[3] = {
|
|
233 | 233 |
ioapic_mem_readl, |
234 | 234 |
ioapic_mem_readl, |
235 | 235 |
ioapic_mem_readl, |
236 | 236 |
}; |
237 | 237 |
|
238 |
static CPUWriteMemoryFunc *ioapic_mem_write[3] = { |
|
238 |
static CPUWriteMemoryFunc * const ioapic_mem_write[3] = {
|
|
239 | 239 |
ioapic_mem_writel, |
240 | 240 |
ioapic_mem_writel, |
241 | 241 |
ioapic_mem_writel, |
Also available in: Unified diff