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

28 lines
687 B
Text
Raw Normal View History

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