mirror of
https://github.com/tylernguyen/x1c6-hackintosh.git
synced 2025-02-05 09:33:13 -06:00
31 lines
700 B
Text
31 lines
700 B
Text
|
//Add PMCR
|
||
|
DefinitionBlock ("", "SSDT", 2, "ACDT", "PMCR", 0)
|
||
|
{
|
||
|
External(_SB.PCI0.LPCB, DeviceObj)
|
||
|
Scope (_SB.PCI0.LPCB)
|
||
|
{
|
||
|
Device (PMCR)
|
||
|
{
|
||
|
Name (_HID, EisaId ("APP9876"))
|
||
|
Name (_CRS, ResourceTemplate ()
|
||
|
{
|
||
|
Memory32Fixed (ReadWrite,
|
||
|
0xFE000000,
|
||
|
0x00010000
|
||
|
)
|
||
|
|
||
|
})
|
||
|
Method (_STA, 0, NotSerialized)
|
||
|
{
|
||
|
If (_OSI ("Darwin"))
|
||
|
{
|
||
|
Return (0x0F)
|
||
|
}
|
||
|
Else
|
||
|
{
|
||
|
Return (Zero)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|