tree: Replace ShiftLeft(a,b) with ASL 2.0 syntax

Replace `ShiftLeft (a, b)` with `a << b`.

Change-Id: I812b1ed9dcf3a5749b39a9beb9f870258ad6a0de
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70842
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Singer 2022-12-16 03:49:55 +01:00
commit 372573eaff
11 changed files with 28 additions and 28 deletions

View file

@ -53,7 +53,7 @@ Device (MBRS)
If (Local1 > 0x10)
{
Local1 -= 0x0F
MEM2 = ShiftLeft (Local1, 0x14)
MEM2 = Local1 << 0x14
MS00 = 0x01000000
MS01 = MS00
}

View file

@ -5,7 +5,7 @@ Scope (_GPE)
Name (PDET, Zero)
Method (PNOT, 2, Serialized) {
Local0 = Arg0 << Arg1
Not( ShiftLeft (One, Arg1), Local1)
Not(One << Arg1, Local1)
Or (Local0, And (Local1, PDET), PDET)
If (PDET == Zero) {
// Palm removed