Contribute
Register

Parseop_ errors during patching dsdt

Status
Not open for further replies.
Joined
Aug 18, 2017
Messages
26
Motherboard
HP Laptop 81eb
CPU
Intel Core i3-6006U @2.00Ghz
Graphics
HD 520
Mac
  1. iMac
How can i fix this error? Also tried disassembly using refs.txt
 

Attachments

  • DSDT.dsl
    992.9 KB · Views: 95
  • Screen Shot 2017-09-17 at 9.27.11 PM.png
    Screen Shot 2017-09-17 at 9.27.11 PM.png
    25.1 KB · Views: 77
How can i fix this error? Also tried disassembly using refs.txt

Don't use refs.txt, or remove the line at the top 'External(MDBG, MethodObj'.
 
Tried without refs.txt first, still had error
 
Tried without refs.txt first, still had error

No.
The error you show is a direct result of using refs.txt with the MDBG External declaration.
 
get these errors now ,
 

Attachments

  • Screen Shot 2017-09-17 at 10.02.56 PM.png
    Screen Shot 2017-09-17 at 10.02.56 PM.png
    40.1 KB · Views: 63
  • DSDT.dsl
    993.8 KB · Views: 96
tht was without refs.tx btw
 
get these errors now ,
tht was without refs.tx btw

Different errors, and ... as expected.
Without refs.txt, iasl doesn't know how many arguments are expected by SDSM and it guesses poorly.

Your choices are as follows:

Option 1:
- use refs.txt
- delete the extra External(MDBG line

Option 2:
- use refs.txt but without the External(MDBG in it

Option 3:
- don't use refs.txt then fix the code dealing with SDSM...
- since you know SDSM is nowhere to be found, you then also know that the CondRefOf will always evaluate false
- as a result, you can remove the entire if block:
Code:
                If (CondRefOf (\_SB.PCI0.SAT0.SDSM))
                {
                    Return (SDSM)
                    Arg0
                    Arg1
                    Arg2
                    Arg3
                }

And don't forget, in any case, to disassemble with the SSDTs as context (iasl -da -dl DSDT.aml SSDT*.aml)
 
i used option 1 and still get same error
 

Attachments

  • DSDT.dsl
    994.4 KB · Views: 124
Status
Not open for further replies.
Back
Top