Jump to content
7 posts in this topic

Recommended Posts

On line 8430-8431:

Return (MDBG)
 Arg0

that's not a correct statement. it should be:

Store (Arg0, MDBG)
Return

and on line 8461:

    Method (HRPR, 0, NotSerialized)
    {
        OperationRegion (HRPE, SystemMemory, \_GPE.MMTB (0x04), Field (HRPE, DWordAcc, Lock, Preserve)
            {
                VDPC,   32
            })

should be

   Method (HRPR, 0, NotSerialized)
    {
        OperationRegion (HRPE, SystemMemory, \_GPE.MMTB, 0x04)
        Field (HRPE, DWordAcc, Lock, Preserve)
            {
                VDPC,   32
            }

fixed version attached

DSDT.aml.zip

On line 8430-8431:

Return (MDBG)
 Arg0
that's not a correct statement. it should be:

Store (Arg0, MDBG)
Return

 

No.

 

MDBG is actually a method that takes a single argument.

You would need to change the External declaration appropriately:

External (MDBG, MethodObj)
And fix the code in ADBG:

Return(MDBG(Arg0))
You can use the iasl -fe option (during disassembly) and provide it with a refs.txt:

External(MDBG, MethodObj, 1)
It will then never have that issue...

 

Or, since we know that CondRefOf(MDBG) is always false, you can simply remove the code within the CondRefOf block, such that ADBG reads:

    Method (ADBG, 1, Serialized)
    {
        Return (Zero)
    }
×
×
  • Create New...