From ec7e97f458cb2b8925a97994307104191ab656da Mon Sep 17 00:00:00 2001 From: Shao Miller Date: Tue, 17 Nov 2009 18:28:10 -0500 Subject: [PATCH] [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 --- src/arch/i386/firmware/pcbios/e820mangler.S | 1 + 1 file changed, 1 insertion(+) diff --git a/src/arch/i386/firmware/pcbios/e820mangler.S b/src/arch/i386/firmware/pcbios/e820mangler.S index 32be9ee5..99ca519b 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,