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>
This commit is contained in:
Felix Singer 2022-01-03 18:55:26 +01:00
parent b2d8807392
commit c9d6e81894
1 changed files with 3 additions and 3 deletions

View File

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