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
|
|
@ -167,12 +167,12 @@ timer_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
|
|||
timer_update_irq(t);
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *timer_read[] = {
|
||||
static CPUReadMemoryFunc * const timer_read[] = {
|
||||
NULL, NULL,
|
||||
&timer_readl,
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *timer_write[] = {
|
||||
static CPUWriteMemoryFunc * const timer_write[] = {
|
||||
NULL, NULL,
|
||||
&timer_writel,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue