If you had been patching your own DSDT recently, you most likely encountered this common error dialogue
when clicking on the 1st 2 errors, they'll take you to these set of codes
To fix the errors, I created this patch which you can just apply with latest version of MacIASL
This will fix all 3 errors listed above. Enjoy!
@shiecldk
The errors are different after you ran the fix. Most likely you didn't decompile the original *aml correctly or use different versions of MacIASL
Your code remains incorrect; change it as follows:
If (LEqual (PM6H, One))
{
CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, ECRW) // _RW_: Read-Write Status
Store (Zero, ECRW)
}
If (PM0H)
{
CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, F0LN) // _LEN: Length
Store (Zero, F0LN)
}