Revision 1eed09cb hw/pxa2xx_pcmcia.c

b/hw/pxa2xx_pcmcia.c
139 139
            qemu_mallocz(sizeof(PXA2xxPCMCIAState));
140 140

  
141 141
    /* Socket I/O Memory Space */
142
    iomemtype = cpu_register_io_memory(0, pxa2xx_pcmcia_io_readfn,
142
    iomemtype = cpu_register_io_memory(pxa2xx_pcmcia_io_readfn,
143 143
                    pxa2xx_pcmcia_io_writefn, s);
144 144
    cpu_register_physical_memory(base | 0x00000000, 0x04000000, iomemtype);
145 145

  
146 146
    /* Then next 64 MB is reserved */
147 147

  
148 148
    /* Socket Attribute Memory Space */
149
    iomemtype = cpu_register_io_memory(0, pxa2xx_pcmcia_attr_readfn,
149
    iomemtype = cpu_register_io_memory(pxa2xx_pcmcia_attr_readfn,
150 150
                    pxa2xx_pcmcia_attr_writefn, s);
151 151
    cpu_register_physical_memory(base | 0x08000000, 0x04000000, iomemtype);
152 152

  
153 153
    /* Socket Common Memory Space */
154
    iomemtype = cpu_register_io_memory(0, pxa2xx_pcmcia_common_readfn,
154
    iomemtype = cpu_register_io_memory(pxa2xx_pcmcia_common_readfn,
155 155
                    pxa2xx_pcmcia_common_writefn, s);
156 156
    cpu_register_physical_memory(base | 0x0c000000, 0x04000000, iomemtype);
157 157

  

Also available in: Unified diff