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
|
@ -147,13 +147,13 @@ uart_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
|
|||
uart_update_irq(s);
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *uart_read[] = {
|
||||
static CPUReadMemoryFunc * const uart_read[] = {
|
||||
&uart_readl,
|
||||
&uart_readl,
|
||||
&uart_readl,
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *uart_write[] = {
|
||||
static CPUWriteMemoryFunc * const uart_write[] = {
|
||||
&uart_writel,
|
||||
&uart_writel,
|
||||
&uart_writel,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue