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>
This commit is contained in:
Felix Singer 2021-12-31 13:45:48 +01:00
parent ca1b2a5b65
commit 60e1dfa8cd
2 changed files with 3 additions and 3 deletions

View File

@ -153,7 +153,7 @@ Method(DBGO, 1)
return (0)
}
OUTC(Local0)
Increment(Local1)
Local1++
}
}
return (0)

View File

@ -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)
}