[PATCH]: boot2 optimizations to shrink it

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Roman Divacky
Date: Friday, October 22, 2010 - 6:37 am

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH]: boot2 optimizations to shrink it, Roman Divacky, (Fri Oct 22, 6:37 am)
Re: [PATCH]: boot2 optimizations to shrink it, John Baldwin, (Fri Oct 22, 7:18 am)