svn commit: r214210 - head/sys/boot/i386/boot2
Warner Losh
imp at bsdimp.com
Fri Oct 22 20:13:59 UTC 2010
In message: <4CC1EBEB.2020309 at FreeBSD.org>
Dimitry Andric <dim at FreeBSD.org> writes:
: On 2010-10-22 20:46, Warner Losh wrote:
: >> Avoid using memcpy() for copying 32bit chunks. This shrinks
: >> the resulting code a little.
: >
: > I think I put the memcpy code in when I was porting to ARM to reduce
: > the diffs since it is needed there...
: Due to alignment problems otherwise?
Yes. At the time it didn't make a difference to the size of boot2.
Now I know that we're looking for every byte to trim...
Warner
More information about the svn-src-all
mailing list