Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/60579 )
Change subject: arch/x86/acpi: Replace Increment() with ASL 2.0 syntax ......................................................................
arch/x86/acpi: Replace Increment() with ASL 2.0 syntax
Replace `Increment(a)` with `a++`.
Change-Id: I45ce13509f3e93d7d8cd69689604f24b926bcfbc Signed-off-by: Felix Singer felixsinger@posteo.net Reviewed-on: https://review.coreboot.org/c/coreboot/+/60579 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: HAOUAS Elyes ehaouas@noos.fr --- M src/arch/x86/acpi/debug.asl M src/arch/x86/acpi/globutil.asl 2 files changed, 3 insertions(+), 3 deletions(-)
Approvals: build bot (Jenkins): Verified HAOUAS Elyes: Looks good to me, approved
diff --git a/src/arch/x86/acpi/debug.asl b/src/arch/x86/acpi/debug.asl index fd071f8..60f1595 100644 --- a/src/arch/x86/acpi/debug.asl +++ b/src/arch/x86/acpi/debug.asl @@ -153,7 +153,7 @@ return (0) } OUTC(Local0) - Increment(Local1) + Local1++ } } return (0) diff --git a/src/arch/x86/acpi/globutil.asl b/src/arch/x86/acpi/globutil.asl index 3a7144d..e47b7f2 100644 --- a/src/arch/x86/acpi/globutil.asl +++ b/src/arch/x86/acpi/globutil.asl @@ -50,7 +50,7 @@ Return(Ones) } } - Increment(Local4) + Local4++ } if (LLess(Local4, Local5)) { Return(One) @@ -82,7 +82,7 @@ Derefof(Local1[Local2]))) { Return(0) } - Increment(Local2) + Local2++ } Return(One) }