mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06: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
|
@ -223,13 +223,13 @@ static void pl061_set_irq(void * opaque, int irq, int level)
|
|||
}
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *pl061_readfn[] = {
|
||||
static CPUReadMemoryFunc * const pl061_readfn[] = {
|
||||
pl061_read,
|
||||
pl061_read,
|
||||
pl061_read
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *pl061_writefn[] = {
|
||||
static CPUWriteMemoryFunc * const pl061_writefn[] = {
|
||||
pl061_write,
|
||||
pl061_write,
|
||||
pl061_write
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue