Jump to content

Conditional ACPI patching for OS X?


Recommended Posts

I have a Dell Latitude D630 running Snow Leopard with OpenCore, and I have an ACPI patch I need to boot into Mac OS X, however this patch doesn't play nicely with Windows, and causes an A5 BSOD. Is there any way I can get that patch to only load in Mac OS X and not Windows?

zip file attached has my ACPI folder, config.plist and my DSDT.

D630ACPI.zip

Link to comment
Share on other sites

  • Administrators

Simply apply your patch under the condition of booting/running Mac OS X/OS X/macOS, i.e.:

If (_OSI ("Darwin"))
{
    // your patch here
}

or

If (_OSI ("Darwin"))
{
    // your patch here
}
Else
{
    // original ACPI code
}

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...