mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
Make CPURead/WriteFunc structure 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
fa31af0e63
commit
d60efc6b0d
144 changed files with 1552 additions and 554 deletions
|
|
@ -957,13 +957,13 @@ static void apic_reset(void *opaque)
|
|||
cpu_synchronize_state(s->cpu_env, 1);
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *apic_mem_read[3] = {
|
||||
static CPUReadMemoryFunc * const apic_mem_read[3] = {
|
||||
apic_mem_readb,
|
||||
apic_mem_readw,
|
||||
apic_mem_readl,
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *apic_mem_write[3] = {
|
||||
static CPUWriteMemoryFunc * const apic_mem_write[3] = {
|
||||
apic_mem_writeb,
|
||||
apic_mem_writew,
|
||||
apic_mem_writel,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue