Jump to content

How to fix recent DSDT common error caused by IASL bug


Jake Lo

Recommended Posts

  • Moderators

You are not using the patch correctly or not copying the string correctly, either way you have an extra bracket that's causing the error. Remove it and you're set.

 

Quote

 

If (LEqual (PM6H, 0x01))
                {  // open bracket
                    CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, ECRW)  // _RW_: Read-Write Status
                    Store (Zero, ECRW)
                }  // close bracket
                If (PM0H)
                            {  // open bracket
                                CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, F0LN)  // _LEN: Length
                                Store (Zero, F0LN)
                            } //close bracket
                } // extra bracket which is causing the error
                If (LEqual (PM0H, 0x01))
                 {  // open bracket
                    CreateBitField (BUF0, \_SB.PCI0._Y0D._RW, F0RW)  // _RW_: Read-Write Status
                    Store (Zero, F0RW)
                }  // close bracket

                CreateDWordField (BUF0, \_SB.PCI0._Y0E._MIN, M1MN)  // _MIN: Minimum Base Address
                CreateDWordField (BUF0, \_SB.PCI0._Y0E._MAX, M1MX)  // _MAX: Maximum Base Address
                CreateDWordField (BUF0, \_SB.PCI0._Y0E._LEN, M1LN)  // _LEN: Length
                ShiftLeft (TLUD, 0x14, M1MN)
                Add (Subtract (M1MX, M1MN), 0x01, M1LN)
                Return (BUF0)

 

 

Link to comment
Share on other sites

×
×
  • Create New...