mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -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
4
hw/r2d.c
4
hw/r2d.c
|
@ -155,13 +155,13 @@ r2d_fpga_write(void *opaque, target_phys_addr_t addr, uint32_t value)
|
|||
}
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *r2d_fpga_readfn[] = {
|
||||
static CPUReadMemoryFunc * const r2d_fpga_readfn[] = {
|
||||
r2d_fpga_read,
|
||||
r2d_fpga_read,
|
||||
NULL,
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *r2d_fpga_writefn[] = {
|
||||
static CPUWriteMemoryFunc * const r2d_fpga_writefn[] = {
|
||||
r2d_fpga_write,
|
||||
r2d_fpga_write,
|
||||
NULL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue