[coreboot] [PATCH] fix clobbers in the K8 CAR

Patrick Georgi patrick at georgi-clan.de
Tue Feb 23 22:43:46 CET 2010


Am 21.02.2010 23:42, schrieb Rudolf Marek:
> Hello,
> 
> This patch adds clobber regs into the play as assembly trashes random registers.
> I was bitten by this while doing MSR I/O because ECX got corrupted. I attempted
> to create nice barrier for GCC while changing the stack location too.
> 
> The memcpy code was taken from Linux kernel, dont know to whom attribute the
> copyright on it. If it is OK with the note, otherwise:
> 
> Signed-off-by: Rudolf Marek <r.marek at assembler.cz>
Acked-by: Patrick Georgi <patrick.georgi at coresystems.de>

and committed as r5153




More information about the coreboot mailing list