Actually, you have to turn alignment traps on for the networking layer
to work.

Nicholas Clark wrote:

> On Thu, Jan 25, 2001 at 12:48:10PM +0000, Michael Nonweiler wrote:
> > I am worried about remaining problems with unaligned accesses to word and
> > short data.
>
> Have you experimented yet with a conventional ARM Linux setup where you
> recompile a kernel with the alignment trap handler turned on?
> You shuld be able casts in C to manufacture unaligned pointers to trigger
> the traps (IIRC it reports usage in /proc somewhere) and see if it correctly
> fixes up the results of unaligned pointer reads and writes.
> If the alignment trap handler works (in user space?) what classes of remaining
> problems are you worried about?
>
> > I would like to experiment with an ARM Linux setup that uses gcc modified
> > for x86 structure packing.  Brian mentions that some people are going to be
> > experimenting with compilers configured this way.
> >
> > ** Has anyone produced such a system? **
>
> I am unaware of such a system. However, I have not been keeping a lookout
> for one.
>
> Nicholas Clark
>
> _______________________________________________
> http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> Please visit the above address for information on this list.

--
----------------------------------------------------------------------
David A Rusling   Consulting Engineer
    ARM Limited
    Liberty House,
    Moorbridge Road,
    Maidenhead, SL6 8LT

    Tel: UK-(0)1628-427754
    Fax: UK-(0)1628-780551
    e-mail: [EMAIL PROTECTED]
----------------------------------------------------------------------



_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to