
6 Oct
2009
6 Oct
'09
7:52 p.m.
Dear Scott Wood,
In message 20091006171203.GA10244@b07421-ec1.am.freescale.net you wrote:
I don't know all flavours of Power machines, but gcc seems to align "double" on 64 bit boundaries. This makes me think it might be needed.
Plus, explicit alignment (cacheline, page, some DMA alignment restriction, etc) could have been requested on something in the BSS. I'd keep it at least page-aligned if possible.
We have no notation of "pages" in U-Boot. Linker scripts typically use 256 byte alignment as the most strict requriement, and this is randomly chosen, either. I guess cache line size would do just fine (and even this is probably overkill).
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
They say, well, meybe it _is_ smelly, maybe it _is_ overcrowded, may-
be it _is_ a bit like Hell would be if they shut the fires off and
stabled a herd of incontinent cows there for a year, but you must
admit that it is full of sheer, vibrant, dynamic _life_.
- Terry Pratchett, _Moving Pictures_