diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-01-03 18:55:26 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-06-09 09:06:55 +0000 |
commit | c9d6e818948f905daba56e181864319dc6f04ef6 (patch) | |
tree | cbc3496470a68b64989c6aec9cee2d43c8aeca84 /src/arch/x86 | |
parent | b2d8807392353b6bc516a6a7af5d817eea98ee2a (diff) |
arch/x86/acpi: Replace ShiftRight() with ASL 2.0 syntax
Change-Id: Iaa99d9dc4cf12a7431be1610d339cf78116f8bea
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60717
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/acpi/debug.asl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/x86/acpi/debug.asl b/src/arch/x86/acpi/debug.asl index fcacd2f492..3f04b03c37 100644 --- a/src/arch/x86/acpi/debug.asl +++ b/src/arch/x86/acpi/debug.asl @@ -90,7 +90,7 @@ Method(DBGN, 1) */ Method(DBGB, 1) { - ShiftRight(Arg0, 4, Local0) + Local0 = Arg0 >> 4 DBGN(Local0) DBGN(Arg0) } @@ -101,7 +101,7 @@ Method(DBGB, 1) */ Method(DBGW, 1) { - ShiftRight(Arg0, 8, Local0) + Local0 = Arg0 >> 8 DBGB(Local0) DBGB(Arg0) } @@ -112,7 +112,7 @@ Method(DBGW, 1) */ Method(DBGD, 1) { - ShiftRight(Arg0, 16, Local0) + Local0 = Arg0 >> 16 DBGW(Local0) DBGW(Arg0) } |