jazzyguy Posted November 23, 2011 Share Posted November 23, 2011 Hey guys, quick question. I have a DSDT I am trying to edit. I am having trouble compiling it. This is part of it. Method (_DSM, 4, NotSerialized) { If (LEqual (BRID, One)) { If (LEqual (Arg0, Buffer (0x10) { /* 0000 */ 0xF8, 0xD8, 0x86, 0xA4, 0xDA, 0x0B, 0x1B, 0x47, /* 0008 */ 0xA7, 0x2B, 0x60, 0x42, 0xA6, 0xB5, 0xBE, 0xE0 })) { P8XH (Zero, 0xF6) Return (NVOP) Arg0 Arg1 Arg2 Arg3 } } How do I stop this: 8382 Error syntax error, unexpected PARSEOP_ARG0 which is the line with Arg0 Link to comment Share on other sites More sharing options...
LatinMcG Posted November 23, 2011 Share Posted November 23, 2011 post original and mod Link to comment Share on other sites More sharing options...
jazzyguy Posted November 23, 2011 Author Share Posted November 23, 2011 post original and mod The original won't compile for the same reason. Thanks for helping. Link to comment Share on other sites More sharing options...
jacekg Posted December 2, 2011 Share Posted December 2, 2011 What about removing those Arg... lines as unreachable because the code returns earlier? Link to comment Share on other sites More sharing options...
jazzyguy Posted December 7, 2011 Author Share Posted December 7, 2011 What about removing those Arg... lines as unreachable because the code returns earlier? Is that really the correct way to make it compile? Link to comment Share on other sites More sharing options...
Recommended Posts