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

« back to all changes in this revision

Viewing changes to hw/lsi53c895a.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:
1779
1779
    return val;
1780
1780
}
1781
1781
 
1782
 
static CPUReadMemoryFunc *lsi_mmio_readfn[3] = {
 
1782
static CPUReadMemoryFunc * const lsi_mmio_readfn[3] = {
1783
1783
    lsi_mmio_readb,
1784
1784
    lsi_mmio_readw,
1785
1785
    lsi_mmio_readl,
1786
1786
};
1787
1787
 
1788
 
static CPUWriteMemoryFunc *lsi_mmio_writefn[3] = {
 
1788
static CPUWriteMemoryFunc * const lsi_mmio_writefn[3] = {
1789
1789
    lsi_mmio_writeb,
1790
1790
    lsi_mmio_writew,
1791
1791
    lsi_mmio_writel,
1860
1860
    return le32_to_cpu(s->script_ram[addr >> 2]);
1861
1861
}
1862
1862
 
1863
 
static CPUReadMemoryFunc *lsi_ram_readfn[3] = {
 
1863
static CPUReadMemoryFunc * const lsi_ram_readfn[3] = {
1864
1864
    lsi_ram_readb,
1865
1865
    lsi_ram_readw,
1866
1866
    lsi_ram_readl,
1867
1867
};
1868
1868
 
1869
 
static CPUWriteMemoryFunc *lsi_ram_writefn[3] = {
 
1869
static CPUWriteMemoryFunc * const lsi_ram_writefn[3] = {
1870
1870
    lsi_ram_writeb,
1871
1871
    lsi_ram_writew,
1872
1872
    lsi_ram_writel,