mirror of
https://github.com/tylernguyen/x1c6-hackintosh.git
synced 2025-02-05 09:33:13 -06:00
35 lines
675 B
Text
35 lines
675 B
Text
![]() |
//
|
||
|
// In config ACPI, GPRW to XPRW
|
||
|
// Find: 47505257 02
|
||
|
// Replace: 58505257 02
|
||
|
//
|
||
|
DefinitionBlock ("", "SSDT", 2, "OCLT", "GPRW", 0)
|
||
|
{
|
||
|
External(XPRW, MethodObj)
|
||
|
Method (GPRW, 2, NotSerialized)
|
||
|
{
|
||
|
If (_OSI ("Darwin"))
|
||
|
{
|
||
|
If ((0x6D == Arg0))
|
||
|
{
|
||
|
Return (Package ()
|
||
|
{
|
||
|
0x6D,
|
||
|
Zero
|
||
|
})
|
||
|
}
|
||
|
|
||
|
If ((0x0D == Arg0))
|
||
|
{
|
||
|
Return (Package ()
|
||
|
{
|
||
|
0x0D,
|
||
|
Zero
|
||
|
})
|
||
|
}
|
||
|
}
|
||
|
Return (XPRW (Arg0, Arg1))
|
||
|
}
|
||
|
}
|
||
|
|