mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53: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
|
@ -1405,13 +1405,13 @@ static uint32_t pci_mmio_readl(void *opaque, target_phys_addr_t addr)
|
|||
return eepro100_read4(s, addr);
|
||||
}
|
||||
|
||||
static CPUWriteMemoryFunc *pci_mmio_write[] = {
|
||||
static CPUWriteMemoryFunc * const pci_mmio_write[] = {
|
||||
pci_mmio_writeb,
|
||||
pci_mmio_writew,
|
||||
pci_mmio_writel
|
||||
};
|
||||
|
||||
static CPUReadMemoryFunc *pci_mmio_read[] = {
|
||||
static CPUReadMemoryFunc * const pci_mmio_read[] = {
|
||||
pci_mmio_readb,
|
||||
pci_mmio_readw,
|
||||
pci_mmio_readl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue