~ubuntu-bugs-auftrags-killer/qemu/proper-error-characters

« back to all changes in this revision

Viewing changes to hw/mips_jazz.c

  • Committer: Blue Swirl
  • Date: 2009-08-25 18:29:31 UTC
  • Revision ID: git-v1:d60efc6b0d3d4e90cbbb86e21451e55263c29416
Make CPURead/WriteFunc structure 'const'

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
    cpu_outw(env, 0x71, val & 0xff);
59
59
}
60
60
 
61
 
static CPUReadMemoryFunc *rtc_read[3] = {
 
61
static CPUReadMemoryFunc * const rtc_read[3] = {
62
62
    rtc_readb,
63
63
    rtc_readb,
64
64
    rtc_readb,
65
65
};
66
66
 
67
 
static CPUWriteMemoryFunc *rtc_write[3] = {
 
67
static CPUWriteMemoryFunc * const rtc_write[3] = {
68
68
    rtc_writeb,
69
69
    rtc_writeb,
70
70
    rtc_writeb,
76
76
     * the current DMA acknowledge cycle is completed. */
77
77
}
78
78
 
79
 
static CPUReadMemoryFunc *dma_dummy_read[3] = {
 
79
static CPUReadMemoryFunc * const dma_dummy_read[3] = {
80
80
    NULL,
81
81
    NULL,
82
82
    NULL,
83
83
};
84
84
 
85
 
static CPUWriteMemoryFunc *dma_dummy_write[3] = {
 
85
static CPUWriteMemoryFunc * const dma_dummy_write[3] = {
86
86
    dma_dummy_writeb,
87
87
    dma_dummy_writeb,
88
88
    dma_dummy_writeb,