[coreboot] [PATCH] use memset

Patrick Georgi patrick at georgi-clan.de
Thu Mar 11 22:20:14 CET 2010

Am 11.03.2010 22:14, schrieb Myles Watson:
> I was having trouble with stack corruption.  Using memset (C) instead of
> clear_memory(asm) speeds it up by almost a factor of 2 for a 1M region.
> TSC difference with clear_memory 0xFA884D
> TSC difference with memset 0x826742
Interesting that the C version is faster in this case.

> Anyway, this patch removes a couple of files that don't need to exist
> anymore, given that only K8 was using clear_memory.
Yay :-)

> SIgned-off-by: Myles Watson <mylesgw at gmail.com <mailto:mylesgw at gmail.com>>
Acked-by: Patrick Georgi <patrick.georgi at coresystems.de>

More information about the coreboot mailing list