mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03: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
|
@ -243,13 +243,13 @@ bad_reg:
|
|||
hw_error("mpcore_priv_read: Bad offset %x\n", (int)offset);
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *mpcore_priv_readfn[] = {
|
||||
static CPUReadMemoryFunc * const mpcore_priv_readfn[] = {
|
||||
mpcore_priv_read,
|
||||
mpcore_priv_read,
|
||||
mpcore_priv_read
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *mpcore_priv_writefn[] = {
|
||||
static CPUWriteMemoryFunc * const mpcore_priv_writefn[] = {
|
||||
mpcore_priv_write,
|
||||
mpcore_priv_write,
|
||||
mpcore_priv_write
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue