1
0
Fork 0
mirror of https://github.com/tylernguyen/x1c6-hackintosh.git synced 2025-02-05 01:23:14 -06:00
x1c6-hackintosh/patches/SSDT-PM.dsl

33 lines
775 B
Text
Raw Permalink Normal View History

/*
* XCPM power management compatibility table.
*/
DefinitionBlock ("", "SSDT", 2, "tyler", "_PM", 0x00001000)
{
External (DTGP, MethodObj) // 5 Arguments
//
// The CPU device name. (PR00 here)
//
External (_PR.PR00, ProcessorObj)
/*
* XCPM power management compatibility table.
*/
Scope (\_PR.PR00)
{
Method (_DSM, 4, NotSerialized)
{
//
// Inject plugin-type = 0x01 to load X86*.kext
//
Debug = "Writing plugin-type to Registry!"
Local0 = Package (0x02)
{
"plugin-type",
One
}
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
}