Attention is currently required from: Patrick Rudolph. HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/50324 )
Change subject: soc/intel/xeon_sp/include/soc/acpi_asl.h: Convert to ASL 2.0 ......................................................................
soc/intel/xeon_sp/include/soc/acpi_asl.h: Convert to ASL 2.0
Change-Id: Ie1d31b9d02584b97b85afe970894cfe557174733 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/soc/intel/xeon_sp/include/soc/acpi_asl.h 1 file changed, 6 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/24/50324/1
diff --git a/src/soc/intel/xeon_sp/include/soc/acpi_asl.h b/src/soc/intel/xeon_sp/include/soc/acpi_asl.h index e08e02b..befce2e 100644 --- a/src/soc/intel/xeon_sp/include/soc/acpi_asl.h +++ b/src/soc/intel/xeon_sp/include/soc/acpi_asl.h @@ -44,22 +44,22 @@ IRQ (Level, ActiveLow, Shared) {} \ }) \ CreateWordField (RTLA, 1, IRQ0) \ - Store (Zero, IRQ0) \ + IRQ0 = 0 \ \ /* Set the bit from PIRQ Routing Register */ \ - ShiftLeft (1, And (^^PIR##id, ^^IREM), IRQ0) \ + IRQ0 = 1 << (^^PIR##id & ^^IREM) \ Return (RTLA) \ } \ Method (_SRS, 1, Serialized) \ { \ CreateWordField (Arg0, 1, IRQ0) \ FindSetRightBit (IRQ0, Local0) \ - Decrement (Local0) \ - Store (Local0, ^^PIR##id) \ + Local0-- \ + ^^PIR##id = Local0 \ } \ Method (_STA, 0, Serialized) \ { \ - If (And (^^PIR##id, ^^IREN)) { \ + If (^^PIR##id & ^^IREN) { \ Return (0x9) \ } Else { \ Return (0xb) \ @@ -67,7 +67,7 @@ } \ Method (_DIS, 0, Serialized) \ { \ - Or (^^PIR##id, ^^IREN, ^^PIR##id) \ + ^^PIR##id |= ^^IREN \ } \ }