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

« back to all changes in this revision

Viewing changes to hw/fw_cfg.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:
133
133
    fw_cfg_select(opaque, (uint16_t)value);
134
134
}
135
135
 
136
 
static CPUReadMemoryFunc *fw_cfg_ctl_mem_read[3] = {
 
136
static CPUReadMemoryFunc * const fw_cfg_ctl_mem_read[3] = {
137
137
    NULL,
138
138
    NULL,
139
139
    NULL,
140
140
};
141
141
 
142
 
static CPUWriteMemoryFunc *fw_cfg_ctl_mem_write[3] = {
 
142
static CPUWriteMemoryFunc * const fw_cfg_ctl_mem_write[3] = {
143
143
    NULL,
144
144
    fw_cfg_mem_writew,
145
145
    NULL,
146
146
};
147
147
 
148
 
static CPUReadMemoryFunc *fw_cfg_data_mem_read[3] = {
 
148
static CPUReadMemoryFunc * const fw_cfg_data_mem_read[3] = {
149
149
    fw_cfg_mem_readb,
150
150
    NULL,
151
151
    NULL,
152
152
};
153
153
 
154
 
static CPUWriteMemoryFunc *fw_cfg_data_mem_write[3] = {
 
154
static CPUWriteMemoryFunc * const fw_cfg_data_mem_write[3] = {
155
155
    fw_cfg_mem_writeb,
156
156
    NULL,
157
157
    NULL,