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

35 lines
789 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)
External(_SB.PCI0.LPCB, DeviceObj)
2020-11-03 11:58:35 -06:00
Scope (_SB.PCI0.LPCB)
{
Device (PMCR)
{
2020-11-03 11:58:35 -06:00
// Name (_ADR, 0x001F0002) // _ADR: Address
Name (_HID, EisaId ("APP9876"))
Name (_CRS, ResourceTemplate ()
{
Memory32Fixed (ReadWrite,
0xFE000000,
0x00010000
)
})
Method (_STA, 0, NotSerialized)
{
2020-11-03 11:58:35 -06:00
If (OSDW ())
{
Return (0x0B)
}
Else
{
Return (Zero)
}
}
}
}
}