[coreboot] [PATCH] use memset

Myles Watson mylesgw at gmail.com
Thu Mar 11 22:14:21 CET 2010

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

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

SIgned-off-by: Myles Watson <mylesgw at gmail.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100311/0ce80119/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memset.diff
Type: text/x-patch
Size: 11681 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100311/0ce80119/attachment.diff>

More information about the coreboot mailing list