Jump to content

Correggere errori su dsdt


ITABRA
 Share

7 posts in this topic

Recommended Posts

Buongiorno a tutti vorrei imparare a compilare da solo il mio dsdt,  ho provato a compilare ma ci sono degli errori, e non esistono patch nella repository che possono correggerli 

 

7491, 6126, syntax error, unexpected PARSEOP_OPERATIONREGION
7495, 6126, syntax error, unexpected PARSEOP_CLOSE_PAREN
7504, 6126, syntax error, unexpected PARSEOP_ELSE
10130, 6126, syntax error, unexpected PARSEOP_SCOPE, expecting $end and premature End-Of-File

 

qualcuno di voi mi puó spiegrare come posso fare ?

 

grazie a tutti

 

Link to comment
Share on other sites

Originale:

If ((\_SB.PCI0.LPC.EC.ASBF == One))
{
    If ((\_SB.PCI0.RP09.PEGP.BADR (0xFFFFFFFF) != OperationRegion (AMSA, SystemMemory, \_SB.PCI0.RP09.PEGP.BADR (0x00010000), Field (AMSA, AnyAcc, NoLock, Preserve)
    {
        Offset (0x53F0), 
        ASBT,   8
    })))
    {
        If ((ASBT != 0x83))
        {
            ASBT = 0x83
        }
    }
}

Sostituirei con questo:

If ((\_SB.PCI0.LPC.EC.ASBF == One))
{
    OperationRegion (AMSA, SystemMemory, \_SB.PCI0.RP09.PEGP.BADR, 0x00010000)
    Field (AMSA, AnyAcc, NoLock, Preserve)
    {
        Offset (0x53F0), 
        ASBT,   8
    }
    If (\_SB.PCI0.RP09.PEGP.BADR (0xFFFFFFFF) != AMSA)
    {
        If ((ASBT != 0x83))
        {
            ASBT = 0x83
        }
    }
}

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...