mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23: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
|
@ -1057,13 +1057,13 @@ static void vmsvga_vram_writel(void *opaque, target_phys_addr_t addr,
|
|||
*(uint32_t *) (s->vram_ptr + addr) = value;
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *vmsvga_vram_read[] = {
|
||||
static CPUReadMemoryFunc * const vmsvga_vram_read[] = {
|
||||
vmsvga_vram_readb,
|
||||
vmsvga_vram_readw,
|
||||
vmsvga_vram_readl,
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *vmsvga_vram_write[] = {
|
||||
static CPUWriteMemoryFunc * const vmsvga_vram_write[] = {
|
||||
vmsvga_vram_writeb,
|
||||
vmsvga_vram_writew,
|
||||
vmsvga_vram_writel,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue