1
0
Fork 0
mirror of https://github.com/tylernguyen/x1c6-hackintosh.git synced 2025-02-05 09:33:13 -06:00
x1c6-hackintosh/patches/SSDT-PLUG.dsl
2020-11-03 20:22:45 +01:00

28 lines
No EOL
687 B
Text

/*
* XCPM power management compatibility table.
*/
DefinitionBlock ("", "SSDT", 2, "tyler", "_PLUG", 0x00001000)
{
External(_PR.PR00, ProcessorObj)
/* Support methods */
External (DTGP, MethodObj) // 5 Arguments
If (CondRefOf (\PR.PR00))
{
Scope (\_PR.PR00)
{
Method (_DSM, 4, NotSerialized)
{
Local0 = Package ()
{
// Inject plugin-type = 0x01
"plugin-type",
One
}
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
}
}