Revision 187337f8 hw/pxa2xx_pcmcia.c

b/hw/pxa2xx_pcmcia.c
149 149
    s->io_base = base | 0x00000000;
150 150
    iomemtype = cpu_register_io_memory(0, pxa2xx_pcmcia_io_readfn,
151 151
                    pxa2xx_pcmcia_io_writefn, s);
152
    cpu_register_physical_memory(s->io_base, 0x03ffffff, iomemtype);
152
    cpu_register_physical_memory(s->io_base, 0x04000000, iomemtype);
153 153

  
154 154
    /* Then next 64 MB is reserved */
155 155

  
......
157 157
    s->attr_base = base | 0x08000000;
158 158
    iomemtype = cpu_register_io_memory(0, pxa2xx_pcmcia_attr_readfn,
159 159
                    pxa2xx_pcmcia_attr_writefn, s);
160
    cpu_register_physical_memory(s->attr_base, 0x03ffffff, iomemtype);
160
    cpu_register_physical_memory(s->attr_base, 0x04000000, iomemtype);
161 161

  
162 162
    /* Socket Common Memory Space */
163 163
    s->common_base = base | 0x0c000000;
164 164
    iomemtype = cpu_register_io_memory(0, pxa2xx_pcmcia_common_readfn,
165 165
                    pxa2xx_pcmcia_common_writefn, s);
166
    cpu_register_physical_memory(s->common_base, 0x03ffffff, iomemtype);
166
    cpu_register_physical_memory(s->common_base, 0x04000000, iomemtype);
167 167

  
168 168
    if (base == 0x30000000)
169 169
        s->slot.slot_string = "PXA PC Card Socket 1";

Also available in: Unified diff