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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...