ACPI
// CreatorID=MSFT CreatorRev=4.0.0
// FileLength=376 FileChkSum=0xcf
DefinitionBlock("SSDT.AML", "SSDT", 0x01, "Intel_", "ADebTabl", 0x00001000)
{
Scope(\)
{
Name(DPTR, 0x7b39b000)
Name(EPTR, 0x7b3ab000)
Name(CPTR, 0x7b39b010)
Mutex(MMUT, 0x0)
Method(MDBG, 0x1, Serialized)
{
Store(Acquire(MMUT, 0x3e8), Local0)
If(LEqual(Local0, Zero))
{
OperationRegion(ABLK, SystemMemory, CPTR, 0x10)
Field(ABLK, ByteAcc, NoLock, Preserve)
{
AAAA, 128
}
Store(Arg0, AAAA)
Add(CPTR, 0x10, CPTR)
If(LNot(LLess(CPTR, EPTR)))
{
Add(DPTR, 0x10, CPTR)
}
Release(MMUT)
}
Return(Local0)
}
}
Scope(\_SB.PCI0.I2C3)
{
Device(LED)
{
Name(_HID, "LEDCON")
Name(_UID, 1)
Method(_CRS, 0x0, NotSerialized)
{
Name(RBUF, ResourceTemplate()
{
I2CSerialBus(0x32, ControllerInitiated, 400000, AddressingMode7Bit, "\\_SB.PCI0.I2C3", 0, ResourceConsumer)
I2CSerialBus(0x33, ControllerInitiated, 400000, AddressingMode7Bit, "\\_SB.PCI0.I2C3", 0, ResourceConsumer)
I2CSerialBus(0x34, ControllerInitiated, 400000, AddressingMode7Bit, "\\_SB.PCI0.I2C3", 0, ResourceConsumer)
I2CSerialBus(0x35, ControllerInitiated, 400000, AddressingMode7Bit, "\\_SB.PCI0.I2C3", 0, ResourceConsumer)
//GpioInt(Edge, ActiveHigh, Exclusive, PullDown, 0, "\\_SB.GPO2") {0x16}
GpioIo(Exclusive, PullNone, 0, 0,, "\\_SB.GPO2", ,) {0x16}
})
Return(RBUF)
}
Method(_DSM, 0x4, NotSerialized)
{
If(LEqual(Arg0, Buffer(0x10)
{
0x1e, 0x54, 0x81, 0x76, 0x27, 0x88, 0x39, 0x42, 0x8d, 0x9d, 0x36, 0xbe, 0x7f, 0xe1, 0x25, 0x42
}))
{
If(LEqual(Arg2, Zero))
{
Return(Buffer(One)
{
0x03
})
}
If(LEqual(Arg2, One))
{
Return(Buffer(0x4)
{
0x00, 0x01, 0x02, 0x03
})
}
}
Else
{
Return(Buffer(One)
{
0x00
})
}
} // Method(_DSM ...)
} // Device(LEDA)
}
}
阅读(723) | 评论(0) | 转发(0) |