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 11:58:35 -06:00

32 lines
No EOL
746 B
Text

/*
* XCPM power management compatibility table.
*/
DefinitionBlock ("", "SSDT", 2, "tyler", "_PLUG", 0x00001000)
{
External(_PR.PR00, ProcessorObj)
If (CondRefOf (\PR.PR00))
{
Scope (\_PR.PR00)
{
Method (_DSM, 4, NotSerialized)
{
If (LEqual (Arg2, Zero))
{
Return (Buffer (One)
{
0x03
})
}
Return (Package (0x02)
{
// Inject plugin-type = 0x01
"plugin-type",
One
})
}
}
}
}