mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33: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
|
@ -73,13 +73,13 @@ static uint32_t pci_vpb_config_readl (void *opaque, target_phys_addr_t addr)
|
|||
return val;
|
||||
}
|
||||
|
||||
static CPUWriteMemoryFunc *pci_vpb_config_write[] = {
|
||||
static CPUWriteMemoryFunc * const pci_vpb_config_write[] = {
|
||||
&pci_vpb_config_writeb,
|
||||
&pci_vpb_config_writew,
|
||||
&pci_vpb_config_writel,
|
||||
};
|
||||
|
||||
static CPUReadMemoryFunc *pci_vpb_config_read[] = {
|
||||
static CPUReadMemoryFunc * const pci_vpb_config_read[] = {
|
||||
&pci_vpb_config_readb,
|
||||
&pci_vpb_config_readw,
|
||||
&pci_vpb_config_readl,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue