From: Shao Miller Date: Tue, 17 Nov 2009 23:28:10 +0000 (-0500) Subject: [e820mangler] Add missing CLC ins. for success path X-Git-Tag: v1.0.0-rc1~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec7e97f458cb2b8925a97994307104191ab656da;p=thirdparty%2Fipxe.git [e820mangler] Add missing CLC ins. for success path The get_underlying_e820 function should return with CF unset on success. Reported-by: Timothy Stack Signed-off-by: Marty Connor --- diff --git a/src/arch/i386/firmware/pcbios/e820mangler.S b/src/arch/i386/firmware/pcbios/e820mangler.S index 32be9ee5e..99ca519be 100644 --- a/src/arch/i386/firmware/pcbios/e820mangler.S +++ b/src/arch/i386/firmware/pcbios/e820mangler.S @@ -237,6 +237,7 @@ get_underlying_e820: popw %di incw %bx movl %edx, %eax + clc ret 2: /* If the requested region is earlier than the cached region,