diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-08-25 18:29:31 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-08-25 18:29:31 +0000 |
commit | d60efc6b0d3d4e90cbbb86e21451e55263c29416 (patch) | |
tree | d5167171d11fa8e54f0ff11fae42c77cfac5af4a /hw/pxa2xx.c | |
parent | fa31af0e63c5629d0bdc63eb87c1e44abd4fdb9e (diff) | |
download | qemu-d60efc6b0d3d4e90cbbb86e21451e55263c29416.zip qemu-d60efc6b0d3d4e90cbbb86e21451e55263c29416.tar.gz qemu-d60efc6b0d3d4e90cbbb86e21451e55263c29416.tar.bz2 |
Make CPURead/WriteFunc structure 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pxa2xx.c')
-rw-r--r-- | hw/pxa2xx.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/hw/pxa2xx.c b/hw/pxa2xx.c index 28e9610..5546ee2 100644 --- a/hw/pxa2xx.c +++ b/hw/pxa2xx.c @@ -134,13 +134,13 @@ static void pxa2xx_pm_write(void *opaque, target_phys_addr_t addr, } } -static CPUReadMemoryFunc *pxa2xx_pm_readfn[] = { +static CPUReadMemoryFunc * const pxa2xx_pm_readfn[] = { pxa2xx_pm_read, pxa2xx_pm_read, pxa2xx_pm_read, }; -static CPUWriteMemoryFunc *pxa2xx_pm_writefn[] = { +static CPUWriteMemoryFunc * const pxa2xx_pm_writefn[] = { pxa2xx_pm_write, pxa2xx_pm_write, pxa2xx_pm_write, @@ -215,13 +215,13 @@ static void pxa2xx_cm_write(void *opaque, target_phys_addr_t addr, } } -static CPUReadMemoryFunc *pxa2xx_cm_readfn[] = { +static CPUReadMemoryFunc * const pxa2xx_cm_readfn[] = { pxa2xx_cm_read, pxa2xx_cm_read, pxa2xx_cm_read, }; -static CPUWriteMemoryFunc *pxa2xx_cm_writefn[] = { +static CPUWriteMemoryFunc * const pxa2xx_cm_writefn[] = { pxa2xx_cm_write, pxa2xx_cm_write, pxa2xx_cm_write, @@ -515,13 +515,13 @@ static void pxa2xx_mm_write(void *opaque, target_phys_addr_t addr, } } -static CPUReadMemoryFunc *pxa2xx_mm_readfn[] = { +static CPUReadMemoryFunc * const pxa2xx_mm_readfn[] = { pxa2xx_mm_read, pxa2xx_mm_read, pxa2xx_mm_read, }; -static CPUWriteMemoryFunc *pxa2xx_mm_writefn[] = { +static CPUWriteMemoryFunc * const pxa2xx_mm_writefn[] = { pxa2xx_mm_write, pxa2xx_mm_write, pxa2xx_mm_write, @@ -791,13 +791,13 @@ static void pxa2xx_ssp_write(void *opaque, target_phys_addr_t addr, } } -static CPUReadMemoryFunc *pxa2xx_ssp_readfn[] = { +static CPUReadMemoryFunc * const pxa2xx_ssp_readfn[] = { pxa2xx_ssp_read, pxa2xx_ssp_read, pxa2xx_ssp_read, }; -static CPUWriteMemoryFunc *pxa2xx_ssp_writefn[] = { +static CPUWriteMemoryFunc * const pxa2xx_ssp_writefn[] = { pxa2xx_ssp_write, pxa2xx_ssp_write, pxa2xx_ssp_write, @@ -1155,13 +1155,13 @@ static void pxa2xx_rtc_write(void *opaque, target_phys_addr_t addr, } } -static CPUReadMemoryFunc *pxa2xx_rtc_readfn[] = { +static CPUReadMemoryFunc * const pxa2xx_rtc_readfn[] = { pxa2xx_rtc_read, pxa2xx_rtc_read, pxa2xx_rtc_read, }; -static CPUWriteMemoryFunc *pxa2xx_rtc_writefn[] = { +static CPUWriteMemoryFunc * const pxa2xx_rtc_writefn[] = { pxa2xx_rtc_write, pxa2xx_rtc_write, pxa2xx_rtc_write, @@ -1439,13 +1439,13 @@ static void pxa2xx_i2c_write(void *opaque, target_phys_addr_t addr, } } -static CPUReadMemoryFunc *pxa2xx_i2c_readfn[] = { +static CPUReadMemoryFunc * const pxa2xx_i2c_readfn[] = { pxa2xx_i2c_read, pxa2xx_i2c_read, pxa2xx_i2c_read, }; -static CPUWriteMemoryFunc *pxa2xx_i2c_writefn[] = { +static CPUWriteMemoryFunc * const pxa2xx_i2c_writefn[] = { pxa2xx_i2c_write, pxa2xx_i2c_write, pxa2xx_i2c_write, @@ -1666,13 +1666,13 @@ static void pxa2xx_i2s_write(void *opaque, target_phys_addr_t addr, } } -static CPUReadMemoryFunc *pxa2xx_i2s_readfn[] = { +static CPUReadMemoryFunc * const pxa2xx_i2s_readfn[] = { pxa2xx_i2s_read, pxa2xx_i2s_read, pxa2xx_i2s_read, }; -static CPUWriteMemoryFunc *pxa2xx_i2s_writefn[] = { +static CPUWriteMemoryFunc * const pxa2xx_i2s_writefn[] = { pxa2xx_i2s_write, pxa2xx_i2s_write, pxa2xx_i2s_write, @@ -1909,13 +1909,13 @@ static void pxa2xx_fir_write(void *opaque, target_phys_addr_t addr, } } -static CPUReadMemoryFunc *pxa2xx_fir_readfn[] = { +static CPUReadMemoryFunc * const pxa2xx_fir_readfn[] = { pxa2xx_fir_read, pxa2xx_fir_read, pxa2xx_fir_read, }; -static CPUWriteMemoryFunc *pxa2xx_fir_writefn[] = { +static CPUWriteMemoryFunc * const pxa2xx_fir_writefn[] = { pxa2xx_fir_write, pxa2xx_fir_write, pxa2xx_fir_write, |