Contribute
Register

DSDT Compile Error, Function Return Value Problem

Status
Not open for further replies.
Joined
Sep 7, 2015
Messages
104
Motherboard
Gigabyte Z690 Aero G
CPU
i5-12600K
Graphics
RX 6600 XT
Mac
  1. iMac
  2. MacBook Pro
  3. Mac Pro
Mobile Phone
  1. iOS
I understand the DSDT syntax, but not how to fix the problem.

As you can see from the screen shot below in areas highlighted in yello, I have random Arg0, Arg1, Arg2, and Arg3 after the return value causing a compile error.

Since functions can only return one value I tried to make SDSM into a function and pass the return values to it, but that compile failed as well. Should I just take out the Args and return SDSM. Please look at the screen shot below and help a brother out. I can make this compile but I have no idea if the return value is correct.

Link to folder containing ASL and DSL files (This is a writable folder)
https://drive.google.com/open?id=0B7iGngSjkrw9UVd3SjltZlBiUVU

Only two errors stand between me and the next problem :) Thanks for your guidance, this is my first shot a APCI/DSDT. APCI is pretty scary, I had no idea that this existed and could execute kernel code.

 
I understand the DSDT syntax, but not how to fix the problem.

As you can see from the screen shot below in areas highlighted in yello, I have random Arg0, Arg1, Arg2, and Arg3 after the return value causing a compile error.

Since functions can only return one value I tried to make SDSM into a function and pass the return values to it, but that compile failed as well. Should I just take out the Args and return SDSM. Please look at the screen shot below and help a brother out. I can make this compile but I have no idea if the return value is correct.

Link to folder containing ASL and DSL files (This is a writable folder)
https://drive.google.com/open?id=0B7iGngSjkrw9UVd3SjltZlBiUVU

Only two errors stand between me and the next problem :) Thanks for your guidance, this is my first shot a APCI/DSDT. APCI is pretty scary, I had no idea that this existed and could execute kernel code.


Disassemble correctly (with refs.txt) as per guide: http://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 
Status
Not open for further replies.
Back
Top