[PATCH]: boot2 optimizations to shrink it

2010-10-22 Thread Roman Divacky
Hi, can you guys review this patch: http://lev.vlakno.cz/~rdivacky/boot2.safe.patch It shrinks boot2 by 52 bytes by: eliminating memcpy() calls buffer shrinking as we are only ever called with argument 256 for the %u modifier constifying write-only

Re: [PATCH]: boot2 optimizations to shrink it

2010-10-22 Thread John Baldwin
On Friday, October 22, 2010 9:37:02 am Roman Divacky wrote: Hi, can you guys review this patch: http://lev.vlakno.cz/~rdivacky/boot2.safe.patch It shrinks boot2 by 52 bytes by: eliminating memcpy() calls buffer shrinking as we are only ever called with argument