AMD Rev F support
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2435 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -6,7 +6,7 @@ static inline void clear_memory(void *addr, unsigned long size)
|
||||
{
|
||||
asm volatile(
|
||||
"cld \n\t"
|
||||
"rep stosl\n\t"
|
||||
"rep; stosl\n\t"
|
||||
: /* No outputs */
|
||||
: "a" (0), "D" (addr), "c" (size>>2)
|
||||
);
|
||||
|
Reference in New Issue
Block a user