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
|
@ -194,11 +194,11 @@ static void msix_mmio_write_unallowed(void *opaque, target_phys_addr_t addr,
|
|||
fprintf(stderr, "MSI-X: only dword write is allowed!\n");
|
||||
}
|
||||
|
||||
static CPUWriteMemoryFunc *msix_mmio_write[] = {
|
||||
static CPUWriteMemoryFunc * const msix_mmio_write[] = {
|
||||
msix_mmio_write_unallowed, msix_mmio_write_unallowed, msix_mmio_writel
|
||||
};
|
||||
|
||||
static CPUReadMemoryFunc *msix_mmio_read[] = {
|
||||
static CPUReadMemoryFunc * const msix_mmio_read[] = {
|
||||
msix_mmio_read_unallowed, msix_mmio_read_unallowed, msix_mmio_readl
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue