Revision d60efc6b hw/pxa2xx.c
b/hw/pxa2xx.c | ||
---|---|---|
134 | 134 |
} |
135 | 135 |
} |
136 | 136 |
|
137 |
static CPUReadMemoryFunc *pxa2xx_pm_readfn[] = { |
|
137 |
static CPUReadMemoryFunc * const pxa2xx_pm_readfn[] = {
|
|
138 | 138 |
pxa2xx_pm_read, |
139 | 139 |
pxa2xx_pm_read, |
140 | 140 |
pxa2xx_pm_read, |
141 | 141 |
}; |
142 | 142 |
|
143 |
static CPUWriteMemoryFunc *pxa2xx_pm_writefn[] = { |
|
143 |
static CPUWriteMemoryFunc * const pxa2xx_pm_writefn[] = {
|
|
144 | 144 |
pxa2xx_pm_write, |
145 | 145 |
pxa2xx_pm_write, |
146 | 146 |
pxa2xx_pm_write, |
... | ... | |
215 | 215 |
} |
216 | 216 |
} |
217 | 217 |
|
218 |
static CPUReadMemoryFunc *pxa2xx_cm_readfn[] = { |
|
218 |
static CPUReadMemoryFunc * const pxa2xx_cm_readfn[] = {
|
|
219 | 219 |
pxa2xx_cm_read, |
220 | 220 |
pxa2xx_cm_read, |
221 | 221 |
pxa2xx_cm_read, |
222 | 222 |
}; |
223 | 223 |
|
224 |
static CPUWriteMemoryFunc *pxa2xx_cm_writefn[] = { |
|
224 |
static CPUWriteMemoryFunc * const pxa2xx_cm_writefn[] = {
|
|
225 | 225 |
pxa2xx_cm_write, |
226 | 226 |
pxa2xx_cm_write, |
227 | 227 |
pxa2xx_cm_write, |
... | ... | |
515 | 515 |
} |
516 | 516 |
} |
517 | 517 |
|
518 |
static CPUReadMemoryFunc *pxa2xx_mm_readfn[] = { |
|
518 |
static CPUReadMemoryFunc * const pxa2xx_mm_readfn[] = {
|
|
519 | 519 |
pxa2xx_mm_read, |
520 | 520 |
pxa2xx_mm_read, |
521 | 521 |
pxa2xx_mm_read, |
522 | 522 |
}; |
523 | 523 |
|
524 |
static CPUWriteMemoryFunc *pxa2xx_mm_writefn[] = { |
|
524 |
static CPUWriteMemoryFunc * const pxa2xx_mm_writefn[] = {
|
|
525 | 525 |
pxa2xx_mm_write, |
526 | 526 |
pxa2xx_mm_write, |
527 | 527 |
pxa2xx_mm_write, |
... | ... | |
791 | 791 |
} |
792 | 792 |
} |
793 | 793 |
|
794 |
static CPUReadMemoryFunc *pxa2xx_ssp_readfn[] = { |
|
794 |
static CPUReadMemoryFunc * const pxa2xx_ssp_readfn[] = {
|
|
795 | 795 |
pxa2xx_ssp_read, |
796 | 796 |
pxa2xx_ssp_read, |
797 | 797 |
pxa2xx_ssp_read, |
798 | 798 |
}; |
799 | 799 |
|
800 |
static CPUWriteMemoryFunc *pxa2xx_ssp_writefn[] = { |
|
800 |
static CPUWriteMemoryFunc * const pxa2xx_ssp_writefn[] = {
|
|
801 | 801 |
pxa2xx_ssp_write, |
802 | 802 |
pxa2xx_ssp_write, |
803 | 803 |
pxa2xx_ssp_write, |
... | ... | |
1155 | 1155 |
} |
1156 | 1156 |
} |
1157 | 1157 |
|
1158 |
static CPUReadMemoryFunc *pxa2xx_rtc_readfn[] = { |
|
1158 |
static CPUReadMemoryFunc * const pxa2xx_rtc_readfn[] = {
|
|
1159 | 1159 |
pxa2xx_rtc_read, |
1160 | 1160 |
pxa2xx_rtc_read, |
1161 | 1161 |
pxa2xx_rtc_read, |
1162 | 1162 |
}; |
1163 | 1163 |
|
1164 |
static CPUWriteMemoryFunc *pxa2xx_rtc_writefn[] = { |
|
1164 |
static CPUWriteMemoryFunc * const pxa2xx_rtc_writefn[] = {
|
|
1165 | 1165 |
pxa2xx_rtc_write, |
1166 | 1166 |
pxa2xx_rtc_write, |
1167 | 1167 |
pxa2xx_rtc_write, |
... | ... | |
1439 | 1439 |
} |
1440 | 1440 |
} |
1441 | 1441 |
|
1442 |
static CPUReadMemoryFunc *pxa2xx_i2c_readfn[] = { |
|
1442 |
static CPUReadMemoryFunc * const pxa2xx_i2c_readfn[] = {
|
|
1443 | 1443 |
pxa2xx_i2c_read, |
1444 | 1444 |
pxa2xx_i2c_read, |
1445 | 1445 |
pxa2xx_i2c_read, |
1446 | 1446 |
}; |
1447 | 1447 |
|
1448 |
static CPUWriteMemoryFunc *pxa2xx_i2c_writefn[] = { |
|
1448 |
static CPUWriteMemoryFunc * const pxa2xx_i2c_writefn[] = {
|
|
1449 | 1449 |
pxa2xx_i2c_write, |
1450 | 1450 |
pxa2xx_i2c_write, |
1451 | 1451 |
pxa2xx_i2c_write, |
... | ... | |
1666 | 1666 |
} |
1667 | 1667 |
} |
1668 | 1668 |
|
1669 |
static CPUReadMemoryFunc *pxa2xx_i2s_readfn[] = { |
|
1669 |
static CPUReadMemoryFunc * const pxa2xx_i2s_readfn[] = {
|
|
1670 | 1670 |
pxa2xx_i2s_read, |
1671 | 1671 |
pxa2xx_i2s_read, |
1672 | 1672 |
pxa2xx_i2s_read, |
1673 | 1673 |
}; |
1674 | 1674 |
|
1675 |
static CPUWriteMemoryFunc *pxa2xx_i2s_writefn[] = { |
|
1675 |
static CPUWriteMemoryFunc * const pxa2xx_i2s_writefn[] = {
|
|
1676 | 1676 |
pxa2xx_i2s_write, |
1677 | 1677 |
pxa2xx_i2s_write, |
1678 | 1678 |
pxa2xx_i2s_write, |
... | ... | |
1909 | 1909 |
} |
1910 | 1910 |
} |
1911 | 1911 |
|
1912 |
static CPUReadMemoryFunc *pxa2xx_fir_readfn[] = { |
|
1912 |
static CPUReadMemoryFunc * const pxa2xx_fir_readfn[] = {
|
|
1913 | 1913 |
pxa2xx_fir_read, |
1914 | 1914 |
pxa2xx_fir_read, |
1915 | 1915 |
pxa2xx_fir_read, |
1916 | 1916 |
}; |
1917 | 1917 |
|
1918 |
static CPUWriteMemoryFunc *pxa2xx_fir_writefn[] = { |
|
1918 |
static CPUWriteMemoryFunc * const pxa2xx_fir_writefn[] = {
|
|
1919 | 1919 |
pxa2xx_fir_write, |
1920 | 1920 |
pxa2xx_fir_write, |
1921 | 1921 |
pxa2xx_fir_write, |
Also available in: Unified diff