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-PMCR.dsl

25 lines
482 B
Text
Raw Normal View History

2020-11-03 11:58:35 -06:00
// Add PMCR
DefinitionBlock ("", "SSDT", 2, "tyler", "_PMCR", 0)
{
2020-11-03 11:58:35 -06:00
External (OSDW, MethodObj)
2020-11-03 15:11:04 -06:00
External (_SB.PCI0.LPCB, DeviceObj)
2020-11-03 11:58:35 -06:00
Scope (_SB.PCI0.LPCB)
{
Device (PMCR)
{
2020-11-03 13:22:45 -06:00
Name (_ADR, 0x001F0002) // _ADR: Address
Method (_STA, 0, NotSerialized)
{
2020-11-03 11:58:35 -06:00
If (OSDW ())
{
2020-11-03 13:22:45 -06:00
Return (0x0F)
}
2020-11-03 13:22:45 -06:00
Return (Zero)
}
}
}
}