Jump to content
nid1

DSDT compiling error

4 posts in this topic

Recommended Posts

Advertisement

Well-known bug...

 

Replace:

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


with:

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

 

Share this post


Link to post
Share on other sites
6 hours ago, nid1 said:

Error premature end of file when attempting to compile DSDT

i5-8300H

Dell G3 153579

GTX 1050

DSDT.dsl

DSDT.aml.zip

 

change GFX0 to IGPU
47465830 
49475055 

 

change HDAS to HDEF
48444153 
48444546 

 

change HECI to IMEI
48454349 
494d4549 

 

change SAT0 to SATA
53415430 
53415441

 

change ECDV to EC
45434456 
45435f5f

Share this post


Link to post
Share on other sites
On 10/7/2019 at 7:00 PM, MaLd0n said:

DSDT.aml.zip

 

change GFX0 to IGPU
47465830 
49475055 

 

change HDAS to HDEF
48444153 
48444546 

 

change HECI to IMEI
48454349 
494d4549 

 

change SAT0 to SATA
53415430 
53415441

 

change ECDV to EC
45434456 
45435f5f

HOLY COW , you're instinctively talented 

my DSDT was a MESS,  I guess some people were born to code, thanks! 

On 10/7/2019 at 12:25 PM, Hervé said:

Well-known bug...

 

Replace:


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


with:


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

  

yeah I was aware of that , saw it on rehab guide, but even after applying the patch I faced another error , which was an indicator to me that I'm doing it wrong.

it's all good now , thank you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×