Contribute
Register

DSDT.dsl to DSDT.aml

Status
Not open for further replies.
Joined
Dec 21, 2016
Messages
27
Motherboard
EVGA X299 DARK
CPU
i9-10980XE
Graphics
RX 6900 XT
Mac
  1. 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

  • DSDT.zip
    265 KB · Views: 421
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/
 
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.
 
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)
                }
 
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?
 
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).
 
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:
 
Status
Not open for further replies.
Back
Top