Revision d60efc6b hw/ppc_prep.c

b/hw/ppc_prep.c
155 155
#endif
156 156
}
157 157

  
158
static CPUWriteMemoryFunc *PPC_intack_write[] = {
158
static CPUWriteMemoryFunc * const PPC_intack_write[] = {
159 159
    &_PPC_intack_write,
160 160
    &_PPC_intack_write,
161 161
    &_PPC_intack_write,
162 162
};
163 163

  
164
static CPUReadMemoryFunc *PPC_intack_read[] = {
164
static CPUReadMemoryFunc * const PPC_intack_read[] = {
165 165
    &PPC_intack_readb,
166 166
    &PPC_intack_readw,
167 167
    &PPC_intack_readl,
......
257 257
    return retval;
258 258
}
259 259

  
260
static CPUWriteMemoryFunc *PPC_XCSR_write[] = {
260
static CPUWriteMemoryFunc * const PPC_XCSR_write[] = {
261 261
    &PPC_XCSR_writeb,
262 262
    &PPC_XCSR_writew,
263 263
    &PPC_XCSR_writel,
264 264
};
265 265

  
266
static CPUReadMemoryFunc *PPC_XCSR_read[] = {
266
static CPUReadMemoryFunc * const PPC_XCSR_read[] = {
267 267
    &PPC_XCSR_readb,
268 268
    &PPC_XCSR_readw,
269 269
    &PPC_XCSR_readl,
......
528 528
    return ret;
529 529
}
530 530

  
531
static CPUWriteMemoryFunc *PPC_prep_io_write[] = {
531
static CPUWriteMemoryFunc * const PPC_prep_io_write[] = {
532 532
    &PPC_prep_io_writeb,
533 533
    &PPC_prep_io_writew,
534 534
    &PPC_prep_io_writel,
535 535
};
536 536

  
537
static CPUReadMemoryFunc *PPC_prep_io_read[] = {
537
static CPUReadMemoryFunc * const PPC_prep_io_read[] = {
538 538
    &PPC_prep_io_readb,
539 539
    &PPC_prep_io_readw,
540 540
    &PPC_prep_io_readl,

Also available in: Unified diff