[coreboot-gerrit] Patch merged into coreboot/master: arch/x86/acpigen: Fix acpigen for If (Lequal (...))

gerrit at coreboot.org gerrit at coreboot.org
Wed Nov 16 01:08:12 CET 2016


the following patch was just integrated into master:
commit 1fc6bb93829397859b17e1fb0866d686ad6c19d6
Author: Furquan Shaikh <furquan at chromium.org>
Date:   Mon Nov 14 14:16:26 2016 -0800

    arch/x86/acpigen: Fix acpigen for If (Lequal (...))
    
    acpigen_write_if_lequal is used to generate ACPI code to check if two
    operands are equal, where operand1 is an ACPI op and operand2 is an
    integer. Update name of function to reflect this and fix code to write
    integer instead of emitting byte for operand2.
    
    TEST=Verified by disassembling SSDT on reef that ACPI code generated for
    If with operand2 greater than 1 is correct.
    
    If ((Local1 == 0x02))
    {
    	Return (0x01)
    }
    Else
    {
    	Return (Buffer (One)
    	{
    		0x00                          /* . */
    	})
    }
    
    Change-Id: If643c078b06d4e2e5a084b51c458dd612d565acc
    Reported-by: Naresh G Solanki <naresh.solanki at intel.com>
    Signed-off-by: Furquan Shaikh <furquan at chromium.org>
    Reviewed-on: https://review.coreboot.org/17421
    Tested-by: build bot (Jenkins)
    Reviewed-by: Aaron Durbin <adurbin at chromium.org>


See https://review.coreboot.org/17421 for details.

-gerrit



More information about the coreboot-gerrit mailing list