Contribute
Register

DSDT.dsl to DSDT.aml

Joined
Dec 22, 2016
Messages
10
Motherboard
Asus Rampage V Edition 10
CPU
E5-2696 V4
Graphics
GTX 1080 TI
Mac
iMac
Hi, I need help, I extracted the DSDT, I disassembled it, I corrected it without errors, but when I assemble it, three errors are created (Not a control method, cannot invoke (PRID is a BufferField)).
Each time I correct them, when I save it as .aml they return.
I am attaching the original extracted files and those corrected by me (the link is below).
As I said, the reassembled DSDT contains three errors.
Please help me ....

https://www.dropbox.com/s/s8d4fzo0p43pn0x/DSDT.zip?dl=0
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,691
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hi, I need help, I extracted the DSDT, I disassembled it, I corrected it without errors, but when I assemble it, three errors are created (Not a control method, cannot invoke (PRID is a BufferField)).
Each time I correct them, when I save it as .aml they return.
I am attaching the original extracted files and those corrected by me (the link is below).
As I said, the reassembled DSDT contains three errors.
Please help me ....

https://www.dropbox.com/s/s8d4fzo0p43pn0x/DSDT.zip?dl=0
Must disassemble with SSDTs as context.
See guide:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,691
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hi, thanks for the prompt reply.
I followed the guide, downloading iasl.zip (I do not have the Xcode installed) and I used refs.txt .... I do not understand why it does not work:rolleyes:
Hi, thanks for the prompt reply.
I followed the guide, downloading iasl.zip (I do not have the Xcode installed) and I used refs.txt .... I do not understand why it does not work:rolleyes:
Attach files from ACPI/origin.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,691
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hi, these are the files extracted with Clover and the F4 key.
Thank you for your time.
https://www.dropbox.com/s/zjz6bjj5n2qtgeb/ACPI_Original.zip?dl=0
The errors in this code seen in disassembly are not real:
Code:
                If (LEqual (CSTA (Arg0, Arg1), Zero))
                {
                    Store (Zero, FLAG)
                    Store (0xFF, PRID (Store (0xFF, APID)))
                }
                Else
                {
                    Store (APID, Local0)
                    Store (Local0, PRID (Store (One, FLAG)))
                }
It is just a bug in iasl disassembly.
The code should be disassembled as:
Code:
                If (LEqual (CSTA (Arg0, Arg1), Zero))
                {
                    Store (Zero, FLAG)
                    Store (0xFF, PRID) 
                    Store (0xFF, APID)
                }
                Else
                {
                    Store (APID, Local0)
                    Store (Local0, PRID)
                    Store (One, FLAG)
                }
 
Joined
Dec 22, 2016
Messages
10
Motherboard
Asus Rampage V Edition 10
CPU
E5-2696 V4
Graphics
GTX 1080 TI
Mac
iMac
The errors in this code seen in disassembly are not real:
Code:
                If (LEqual (CSTA (Arg0, Arg1), Zero))
                {
                    Store (Zero, FLAG)
                    Store (0xFF, PRID (Store (0xFF, APID)))
                }
                Else
                {
                    Store (APID, Local0)
                    Store (Local0, PRID (Store (One, FLAG)))
                }
It is just a bug in iasl disassembly.
The code should be disassembled as:
Code:
                If (LEqual (CSTA (Arg0, Arg1), Zero))
                {
                    Store (Zero, FLAG)
                    Store (0xFF, PRID)
                    Store (0xFF, APID)
                }
                Else
                {
                    Store (APID, Local0)
                    Store (Local0, PRID)
                    Store (One, FLAG)
                }
Hi, I figured this was the problem. So my binary dsdt is good. But if I had to download the xcode and create an updated iasl I would get around the problem?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,691
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hi, I figured this was the problem. So my binary dsdt is good. But if I had to download the xcode and create an updated iasl I would get around the problem?
As far as I know, that particular iasl bug is not fixed (I reported it to Intel more than a year ago).
 
Joined
Dec 22, 2016
Messages
10
Motherboard
Asus Rampage V Edition 10
CPU
E5-2696 V4
Graphics
GTX 1080 TI
Mac
iMac
As far as I know, that particular iasl bug is not fixed (I reported it to Intel more than a year ago).
Hi, you're right the bag is also on the latest version:cry:
 
Top