[PATCH]: boot2 optimizations to shrink it

From: Roman Divacky <rdivacky_at_freebsd.org>
Date: Fri, 22 Oct 2010 15:37:02 +0200
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 variable

Rui Paulo tested this, is this patch ok? May I commit this?

thank you, roman


Received on Fri Oct 22 2010 - 11:37:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:08 UTC