mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03: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 pl011_event(void *opaque, int event)
|
|||
pl011_put_fifo(opaque, 0x400);
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *pl011_readfn[] = {
|
||||
static CPUReadMemoryFunc * const pl011_readfn[] = {
|
||||
pl011_read,
|
||||
pl011_read,
|
||||
pl011_read
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *pl011_writefn[] = {
|
||||
static CPUWriteMemoryFunc * const pl011_writefn[] = {
|
||||
pl011_write,
|
||||
pl011_write,
|
||||
pl011_write
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue