Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60717 )
Change subject: arch/x86/acpi: Replace ShiftRight() with ASL 2.0 syntax ......................................................................
arch/x86/acpi: Replace ShiftRight() with ASL 2.0 syntax
Change-Id: Iaa99d9dc4cf12a7431be1610d339cf78116f8bea Signed-off-by: Felix Singer felixsinger@posteo.net --- M src/arch/x86/acpi/debug.asl 1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/60717/1
diff --git a/src/arch/x86/acpi/debug.asl b/src/arch/x86/acpi/debug.asl index ed1c60d..7b0aec4 100644 --- a/src/arch/x86/acpi/debug.asl +++ b/src/arch/x86/acpi/debug.asl @@ -99,7 +99,7 @@ */ Method(DBGB, 1) { - ShiftRight(Arg0, 4, Local0) + Local0 = Arg0 >> 4 DBGN(Local0) DBGN(Arg0) } @@ -110,7 +110,7 @@ */ Method(DBGW, 1) { - ShiftRight(Arg0, 8, Local0) + Local0 = Arg0 >> 8 DBGB(Local0) DBGB(Arg0) } @@ -121,7 +121,7 @@ */ Method(DBGD, 1) { - ShiftRight(Arg0, 16, Local0) + Local0 = Arg0 >> 16 DBGW(Local0) DBGW(Arg0) }