提交 91b81874 编写于 作者: V vit9696

Docs: Add just another CPU PM entry to the sample

closes #25
上级 1f8a0790
......@@ -15,6 +15,7 @@ DefinitionBlock ("", "SSDT", 2, "ACDT", "CpuPlug", 0x00003000)
External (_SB_.PR00, DeviceObj)
External (_PR_.PR00, DeviceObj)
External (_SB_.SCK0.CP00, DeviceObj)
External (_SB_.SCK0.PR00, DeviceObj)
If (CondRefOf (\_SB.CPU0)) {
Scope (\_SB.CPU0) {
......@@ -90,4 +91,19 @@ DefinitionBlock ("", "SSDT", 2, "ACDT", "CpuPlug", 0x00003000)
}
}
}
If (CondRefOf (\_SB.SCK0.PR00)) {
Scope (\_SB.SCK0.PR00) {
Method (_DSM, 4, NotSerialized) {
If (LEqual (Arg2, Zero)) {
Return (Buffer (One) { 0x03 })
}
Return (Package (0x02) {
"plugin-type",
One
})
}
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册