[U-Boot-Users] 32 bit alignment
Robert Schwebel
robert at schwebel.de
Tue Feb 4 16:33:32 CET 2003
On Tue, Feb 04, 2003 at 03:18:41PM +0100, Marius Groeger wrote:
> There are 2 ways to handle this:
>
> 1) Implement an alignment exception handler (have fun)
> 2) Don't access unaligned data. Use byte accesses instead.
The problem is that the whole network code in uboot depends on this; the
IP packet is copied into some memory and a struct IP_t layed over it,
pointing to the right address.
Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Braunschweiger Str. 79, 31134 Hildesheim, Germany
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4
More information about the U-Boot
mailing list