未验证 提交 4ca3758f 编写于 作者: P Pavo 提交者: GitHub

Docs: Added AMD CPU naming to CPU table sample (#26)

上级 f3de1114
......@@ -12,6 +12,8 @@ DefinitionBlock ("", "SSDT", 2, "ACDT", "CpuPlug", 0x00003000)
{
External (_SB_.CPU0, DeviceObj)
External (_PR_.CPU0, DeviceObj)
External (_PR_.C000, DeviceObj)
External (_PR_.P000, DeviceObj)
External (_SB_.PR00, DeviceObj)
External (_PR_.PR00, DeviceObj)
External (_SB_.SCK0.CP00, DeviceObj)
......@@ -61,6 +63,36 @@ DefinitionBlock ("", "SSDT", 2, "ACDT", "CpuPlug", 0x00003000)
}
}
}
If (CondRefOf (\_PR.C000)) {
Scope (\_PR.C000) {
Method (_DSM, 4, NotSerialized) {
If (LEqual (Arg2, Zero)) {
Return (Buffer (One) { 0x03 })
}
Return (Package (0x02) {
"plugin-type",
One
})
}
}
}
If (CondRefOf (\_PR.P000)) {
Scope (\_PR.P000) {
Method (_DSM, 4, NotSerialized) {
If (LEqual (Arg2, Zero)) {
Return (Buffer (One) { 0x03 })
}
Return (Package (0x02) {
"plugin-type",
One
})
}
}
}
If (CondRefOf (\_PR.PR00)) {
Scope (\_PR.PR00) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册