mirror of
https://github.com/tylernguyen/x1c6-hackintosh.git
synced 2025-02-05 09:33:13 -06:00
25 lines
No EOL
482 B
Text
Executable file
25 lines
No EOL
482 B
Text
Executable file
// Add PMCR
|
|
|
|
DefinitionBlock ("", "SSDT", 2, "tyler", "_PMCR", 0)
|
|
{
|
|
External (OSDW, MethodObj)
|
|
External (_SB.PCI0.LPCB, DeviceObj)
|
|
|
|
Scope (_SB.PCI0.LPCB)
|
|
{
|
|
Device (PMCR)
|
|
{
|
|
Name (_ADR, 0x001F0002) // _ADR: Address
|
|
|
|
Method (_STA, 0, NotSerialized)
|
|
{
|
|
If (OSDW ())
|
|
{
|
|
Return (0x0F)
|
|
}
|
|
|
|
Return (Zero)
|
|
}
|
|
}
|
|
}
|
|
} |