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/ppc_prep.c | |
parent | fa31af0e63c5629d0bdc63eb87c1e44abd4fdb9e (diff) |
Make CPURead/WriteFunc structure 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/ppc_prep.c')
-rw-r--r-- | hw/ppc_prep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c index adfa44d0a0..223ca61931 100644 --- a/hw/ppc_prep.c +++ b/hw/ppc_prep.c @@ -155,13 +155,13 @@ static uint32_t PPC_intack_readl (void *opaque, target_phys_addr_t addr) #endif } -static CPUWriteMemoryFunc *PPC_intack_write[] = { +static CPUWriteMemoryFunc * const PPC_intack_write[] = { &_PPC_intack_write, &_PPC_intack_write, &_PPC_intack_write, }; -static CPUReadMemoryFunc *PPC_intack_read[] = { +static CPUReadMemoryFunc * const PPC_intack_read[] = { &PPC_intack_readb, &PPC_intack_readw, &PPC_intack_readl, @@ -257,13 +257,13 @@ static uint32_t PPC_XCSR_readl (void *opaque, target_phys_addr_t addr) return retval; } -static CPUWriteMemoryFunc *PPC_XCSR_write[] = { +static CPUWriteMemoryFunc * const PPC_XCSR_write[] = { &PPC_XCSR_writeb, &PPC_XCSR_writew, &PPC_XCSR_writel, }; -static CPUReadMemoryFunc *PPC_XCSR_read[] = { +static CPUReadMemoryFunc * const PPC_XCSR_read[] = { &PPC_XCSR_readb, &PPC_XCSR_readw, &PPC_XCSR_readl, @@ -528,13 +528,13 @@ static uint32_t PPC_prep_io_readl (void *opaque, target_phys_addr_t addr) return ret; } -static CPUWriteMemoryFunc *PPC_prep_io_write[] = { +static CPUWriteMemoryFunc * const PPC_prep_io_write[] = { &PPC_prep_io_writeb, &PPC_prep_io_writew, &PPC_prep_io_writel, }; -static CPUReadMemoryFunc *PPC_prep_io_read[] = { +static CPUReadMemoryFunc * const PPC_prep_io_read[] = { &PPC_prep_io_readb, &PPC_prep_io_readw, &PPC_prep_io_readl, |