mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 05:51:53 -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
|
@ -164,12 +164,12 @@ mst_fpga_writeb(void *opaque, target_phys_addr_t addr, uint32_t value)
|
|||
}
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *mst_fpga_readfn[] = {
|
||||
static CPUReadMemoryFunc * const mst_fpga_readfn[] = {
|
||||
mst_fpga_readb,
|
||||
mst_fpga_readb,
|
||||
mst_fpga_readb,
|
||||
};
|
||||
static CPUWriteMemoryFunc *mst_fpga_writefn[] = {
|
||||
static CPUWriteMemoryFunc * const mst_fpga_writefn[] = {
|
||||
mst_fpga_writeb,
|
||||
mst_fpga_writeb,
|
||||
mst_fpga_writeb,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue