On Fri, 30 Mar 2001, Jordi Colomer wrote:
> Nicolas Pitre escribió:
> >
> > On Thu, 29 Mar 2001, Peter Lueg wrote:
> >
> > > Hi, list
> > >
> > > anybody who can tell me how to access 16Bit PCMCIA memory while still using
> > > longs? If I try to copy a mmapped region from PCMCIA memory space to some
> > > buffer
> > > using memcpy, I apparently only get the lower half words copied, the upper ones
> > > containing garbage.
> > >
> > > Can I tell the compile how to handle certain variables so that he generates
> > > half word accesses automagically?
> > >
> > > Do I have to write my own memcpy which uses 16Bit acceses only or is there an
> > > alternate routine which does the job?
> >
>
> And what about accessing 16-bit devices in a static bank using memcpy ?
> I guess it would be enough by selecting 16-bit mode in the MSCx
> registers and use memcpy in the usual way, isn't it ?
This isn't about static bank, but PCMCIA memory. They don't work the same.
Nicolas
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.