From c9d6e818948f905daba56e181864319dc6f04ef6 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Mon, 3 Jan 2022 18:55:26 +0100 Subject: [PATCH] arch/x86/acpi: Replace ShiftRight() with ASL 2.0 syntax Change-Id: Iaa99d9dc4cf12a7431be1610d339cf78116f8bea Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60717 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes --- src/arch/x86/acpi/debug.asl | 6 +++--- 1 file 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) }