On Wednesday 15 June 2005 10:34 am, Pete Zaitcev wrote:
> 
> All architectures support unaligned access, including ARM. Some do it by
> the way of trap processing. It's just your particular kernel is broken
> for some reason. Talk to your supplier about it.

That's not quite true ... and in any case, alignment traps in
kernel code are an evil to be exorcised at the root.

If you must do unaligned access, "packed" advice to the compiler
should work, as should <asm/unaligned.h> accessors.  That will
ensure that your code will work on CPUs where unaligned access
has curious semantics, including "won't ever work".

- Dave



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to