Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60696 )
Change subject: arch/x86/acpi: Replace LNotEqual(a,b) with ASL 2.0 syntax ......................................................................
arch/x86/acpi: Replace LNotEqual(a,b) with ASL 2.0 syntax
Replace `LNotEqual(a, b)` with `a != b`.
Change-Id: If0e9fcea680d487c28a965e944b3333bb5a07026 Signed-off-by: Felix Singer felixsinger@posteo.net --- M src/arch/x86/acpi/globutil.asl 1 file changed, 2 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/96/60696/1
diff --git a/src/arch/x86/acpi/globutil.asl b/src/arch/x86/acpi/globutil.asl index 5a21765..2ea4f96 100644 --- a/src/arch/x86/acpi/globutil.asl +++ b/src/arch/x86/acpi/globutil.asl @@ -78,8 +78,7 @@ Store(SLEN(Arg1), Local3)
While(Local2 < Local3) { - if (LNotEqual(Derefof(Local0[Local2]), - Derefof(Local1[Local2]))) { + if (Derefof(Local0[Local2]) != Derefof(Local1[Local2])) { Return(0) } Local2++ @@ -93,7 +92,7 @@ Method(I2BM, 1) { Store(0, Local0) - if (LNotEqual(ARG0, 0)) { + if (ARG0 != 0) { Store(1, Local1) ShiftLeft(Local1, ARG0, Local0) }