mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-18 05:28:36 -07: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
|
|
@ -230,13 +230,13 @@ static void omap_diss_write(void *opaque, target_phys_addr_t addr,
|
|||
}
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *omap_diss1_readfn[] = {
|
||||
static CPUReadMemoryFunc * const omap_diss1_readfn[] = {
|
||||
omap_badwidth_read32,
|
||||
omap_badwidth_read32,
|
||||
omap_diss_read,
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *omap_diss1_writefn[] = {
|
||||
static CPUWriteMemoryFunc * const omap_diss1_writefn[] = {
|
||||
omap_badwidth_write32,
|
||||
omap_badwidth_write32,
|
||||
omap_diss_write,
|
||||
|
|
@ -569,13 +569,13 @@ static void omap_disc_write(void *opaque, target_phys_addr_t addr,
|
|||
}
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *omap_disc1_readfn[] = {
|
||||
static CPUReadMemoryFunc * const omap_disc1_readfn[] = {
|
||||
omap_badwidth_read32,
|
||||
omap_badwidth_read32,
|
||||
omap_disc_read,
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *omap_disc1_writefn[] = {
|
||||
static CPUWriteMemoryFunc * const omap_disc1_writefn[] = {
|
||||
omap_badwidth_write32,
|
||||
omap_badwidth_write32,
|
||||
omap_disc_write,
|
||||
|
|
@ -841,13 +841,13 @@ static void omap_rfbi_write(void *opaque, target_phys_addr_t addr,
|
|||
}
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *omap_rfbi1_readfn[] = {
|
||||
static CPUReadMemoryFunc * const omap_rfbi1_readfn[] = {
|
||||
omap_badwidth_read32,
|
||||
omap_badwidth_read32,
|
||||
omap_rfbi_read,
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *omap_rfbi1_writefn[] = {
|
||||
static CPUWriteMemoryFunc * const omap_rfbi1_writefn[] = {
|
||||
omap_badwidth_write32,
|
||||
omap_badwidth_write32,
|
||||
omap_rfbi_write,
|
||||
|
|
@ -960,13 +960,13 @@ static void omap_venc_write(void *opaque, target_phys_addr_t addr,
|
|||
}
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *omap_venc1_readfn[] = {
|
||||
static CPUReadMemoryFunc * const omap_venc1_readfn[] = {
|
||||
omap_badwidth_read32,
|
||||
omap_badwidth_read32,
|
||||
omap_venc_read,
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *omap_venc1_writefn[] = {
|
||||
static CPUWriteMemoryFunc * const omap_venc1_writefn[] = {
|
||||
omap_badwidth_write32,
|
||||
omap_badwidth_write32,
|
||||
omap_venc_write,
|
||||
|
|
@ -1010,13 +1010,13 @@ static void omap_im3_write(void *opaque, target_phys_addr_t addr,
|
|||
}
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *omap_im3_readfn[] = {
|
||||
static CPUReadMemoryFunc * const omap_im3_readfn[] = {
|
||||
omap_badwidth_read32,
|
||||
omap_badwidth_read32,
|
||||
omap_im3_read,
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *omap_im3_writefn[] = {
|
||||
static CPUWriteMemoryFunc * const omap_im3_writefn[] = {
|
||||
omap_badwidth_write32,
|
||||
omap_badwidth_write32,
|
||||
omap_im3_write,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue