Attention is currently required from: Lance Zhao, Tim Wawrzynczak. Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60687 )
Change subject: arch/x86/acpi: Replace LGreater(a,b) with ASL 2.0 syntax ......................................................................
arch/x86/acpi: Replace LGreater(a,b) with ASL 2.0 syntax
Replace `LGreater(a, b)` with `a > b`.
Change-Id: I0cabf4f69191fe345fd72619847db384db2e0e87 Signed-off-by: Felix Singer felixsinger@posteo.net --- M src/arch/x86/acpi/debug.asl M src/arch/x86/acpi/globutil.asl 2 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/60687/1
diff --git a/src/arch/x86/acpi/debug.asl b/src/arch/x86/acpi/debug.asl index e13bde0..ed1c60d 100644 --- a/src/arch/x86/acpi/debug.asl +++ b/src/arch/x86/acpi/debug.asl @@ -134,10 +134,10 @@ { /* DINI() */ if (ObjectType(Arg0) == 1) { - if (LGreater(Arg0, 0xffff)) { + if (Arg0 > 0xffff) { DBGD(Arg0) } else { - if (LGreater(Arg0, 0xff)) { + if (Arg0 > 0xff) { DBGW(Arg0) } else { DBGB(Arg0) diff --git a/src/arch/x86/acpi/globutil.asl b/src/arch/x86/acpi/globutil.asl index 18ea9c9..5a21765 100644 --- a/src/arch/x86/acpi/globutil.asl +++ b/src/arch/x86/acpi/globutil.asl @@ -43,7 +43,7 @@ While(Local4 < Local7) { Store(Derefof(Local0[Local4]), Local2) Store(Derefof(Local1[Local4]), Local3) - if (LGreater(Local2, Local3)) { + if (Local2 > Local3) { Return(One) } else { if (Local2 < Local3) {