summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-31 13:45:48 +0100
committerFelix Singer <felixsinger@posteo.net>2022-01-01 14:08:27 +0000
commit60e1dfa8cdd9378e88588205f1c7e8e2e9af61e0 (patch)
tree791d8063ce42b2e0bfc64dd4d689b3de29d1c21f
parentca1b2a5b658a3c9e730cb80591d8b5b7990dc390 (diff)
downloadcoreboot-60e1dfa8cdd9378e88588205f1c7e8e2e9af61e0.tar.gz
coreboot-60e1dfa8cdd9378e88588205f1c7e8e2e9af61e0.tar.bz2
coreboot-60e1dfa8cdd9378e88588205f1c7e8e2e9af61e0.zip
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>
-rw-r--r--src/arch/x86/acpi/debug.asl2
-rw-r--r--src/arch/x86/acpi/globutil.asl4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/x86/acpi/debug.asl b/src/arch/x86/acpi/debug.asl
index fd071f8fdb06..60f15956db17 100644
--- a/src/arch/x86/acpi/debug.asl
+++ b/src/arch/x86/acpi/debug.asl
@@ -153,7 +153,7 @@ Method(DBGO, 1)
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 3a7144d3a576..e47b7f25a86f 100644
--- a/src/arch/x86/acpi/globutil.asl
+++ b/src/arch/x86/acpi/globutil.asl
@@ -50,7 +50,7 @@ Method(SCMP, 2)
Return(Ones)
}
}
- Increment(Local4)
+ Local4++
}
if (LLess(Local4, Local5)) {
Return(One)
@@ -82,7 +82,7 @@ Method(WCMP, 2)
Derefof(Local1[Local2]))) {
Return(0)
}
- Increment(Local2)
+ Local2++
}
Return(One)
}