diff --git a/.DS_Store b/.DS_Store index b6b27c4..3c0ba37 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/EFI/.DS_Store b/EFI/.DS_Store index f9345ed..9ed9d5d 100644 Binary files a/EFI/.DS_Store and b/EFI/.DS_Store differ diff --git a/EFI/OC/.DS_Store b/EFI/OC/.DS_Store index 7216b46..203888d 100644 Binary files a/EFI/OC/.DS_Store and b/EFI/OC/.DS_Store differ diff --git a/EFI/OC/ACPI/.DS_Store b/EFI/OC/ACPI/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/EFI/OC/ACPI/.DS_Store differ diff --git a/EFI/OC/ACPI/SSDT-HPET.aml b/EFI/OC/ACPI/SSDT-HPET.aml new file mode 100755 index 0000000..d0936bc Binary files /dev/null and b/EFI/OC/ACPI/SSDT-HPET.aml differ diff --git a/EFI/OC/ACPI/SSDT-HPET.dsl b/EFI/OC/ACPI/SSDT-HPET.dsl deleted file mode 100755 index a1fedde..0000000 --- a/EFI/OC/ACPI/SSDT-HPET.dsl +++ /dev/null @@ -1,50 +0,0 @@ -// -// Supplementary HPET _CRS from Goldfish64 -// Requires at least the HPET's _CRS to XCRS rename -// -DefinitionBlock ("", "SSDT", 2, "CORP", "HPET", 0x00000000) -{ - External (\_SB.PCI0.LPC0.HPET, DeviceObj) - External (\_SB.PCI0.LPC0.HPET.XCRS, MethodObj) - External (\_SB.PCI0.LPC0.HPET.XSTA, MethodObj) - - Scope (\_SB.PCI0.LPC0.HPET) - { - Name (BUFX, ResourceTemplate () - { - // Only choose 0, and 8 to mimic a real mac's DSDT. - // You may optionally want to add 11 and/or 12 here if - // it does not work as expected - though those may have - // other side effects (broken trackpad or otherwise). - IRQNoFlags () - {0,8} - // AccessType/Base/Length pulled from DSDT - Memory32Fixed (ReadWrite, // Access Type - 0xFED00000, // Address Base - 0x00000400, // Address Length - ) - }) - Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings - { - // Return our buffer if booting macOS or the XCRS method - // no longer exists for some reason - If (LOr (_OSI ("Darwin"), LNot(CondRefOf (\_SB.PCI0.LPC0.HPET.XCRS)))) - { - Return (BUFX) - } - // Not macOS and XCRS exists - return its result - Return (\_SB.PCI0.LPC0.HPET.XCRS ()) - } - Method (_STA, 0, NotSerialized) // _STA: Status - { - // Return 0x0F if booting macOS or the XSTA method - // no longer exists for some reason - If (LOr (_OSI ("Darwin"), LNot (CondRefOf (\_SB.PCI0.LPC0.HPET.XSTA)))) - { - Return (0x0F) - } - // Not macOS and XSTA exists - return its result - Return (\_SB.PCI0.LPC0.HPET.XSTA ()) - } - } -} \ No newline at end of file diff --git a/EFI/OC/ACPI/SSDT-RTCAWAC.aml b/EFI/OC/ACPI/SSDT-RTCAWAC.aml new file mode 100755 index 0000000..155ac07 Binary files /dev/null and b/EFI/OC/ACPI/SSDT-RTCAWAC.aml differ diff --git a/EFI/OC/ACPI/SSDT-RTCAWAC.dsl b/EFI/OC/ACPI/SSDT-RTCAWAC.dsl deleted file mode 100755 index 9419d94..0000000 --- a/EFI/OC/ACPI/SSDT-RTCAWAC.dsl +++ /dev/null @@ -1,47 +0,0 @@ -// -// Original sources from Acidanthera: -// - https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-AWAC.dsl -// - https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-RTC0.dsl -// -// Uses the CORP name to denote where this was created for troubleshooting purposes. -// -DefinitionBlock ("", "SSDT", 2, "CORP", "RTCAWAC", 0x00000000) -{ - External (\_SB.PCI0.LPC0.RTC, DeviceObj) - External (\_SB.PCI0.LPC0.RTC.XCRS, BuffObj) - Scope (\_SB.PCI0.LPC0.RTC) - { - // Adjusted and renamed _CRS buffer ripped from DSDT with corrected range - Name (BUFX, ResourceTemplate () - { - IO (Decode16, - 0x0070, // Range Minimum - 0x0070, // Range Maximum - 0x01, // Alignment - 0x04, // Length - ) - IO (Decode16, - 0x0074, // Range Minimum - 0x0074, // Range Maximum - 0x01, // Alignment - 0x04, // Length - ) - IRQNoFlags () - {8} - }) - // End of adjusted _CRS and renamed buffer - - // Create a new _CRS method that returns the result of the renamed XCRS - Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings - { - If (LOr (_OSI ("Darwin"), LNot (CondRefOf (\_SB.PCI0.LPC0.RTC.XCRS)))) - { - // Return our buffer if booting macOS or the XCRS method - // no longer exists for some reason - Return (BUFX) - } - // Not macOS and XCRS exists - return its result - Return (\_SB.PCI0.LPC0.RTC.XCRS) - } - } -} \ No newline at end of file diff --git a/EFI/OC/ACPI/SSDT-SBUS-MCHC.aml b/EFI/OC/ACPI/SSDT-SBUS-MCHC.aml new file mode 100755 index 0000000..b3f8e80 Binary files /dev/null and b/EFI/OC/ACPI/SSDT-SBUS-MCHC.aml differ diff --git a/EFI/OC/ACPI/SSDT-SBUS-MCHC.dsl b/EFI/OC/ACPI/SSDT-SBUS-MCHC.dsl deleted file mode 100755 index 6339f70..0000000 --- a/EFI/OC/ACPI/SSDT-SBUS-MCHC.dsl +++ /dev/null @@ -1,86 +0,0 @@ -/* - * SMBus compatibility table. - * Original from: https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/Source/SSDT-SBUS-MCHC.dsl - */ -DefinitionBlock ("", "SSDT", 2, "CORP", "SBUSMCHC", 0x00000000) -{ - External (\_SB.PCI0, DeviceObj) - External (\_SB.PCI0.MCHC, DeviceObj) - External (\_SB.PCI0.SMBS, DeviceObj) - - // Only create MCHC if it doesn't already exist - If (LNot (CondRefOf (\_SB.PCI0.MCHC))) - { - Scope (\_SB.PCI0) - { - Device (MCHC) - { - Name (_ADR, Zero) // _ADR: Address - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (0x0F) - } - Else - { - Return (Zero) - } - } - } - } - } - - Device (\_SB.PCI0.SMBS.BUS0) - { - Name (_CID, "smbus") // _CID: Compatible ID - Name (_ADR, Zero) // _ADR: Address - - /* - * Uncomment replacing 0x57 with your own value which might be found - * in SMBus section of Intel datasheet for your motherboard. - * - * The "diagsvault" is the diagnostic vault where messages are stored. - * It's located at address 87 (0x57) on the SMBus controller. - * While "diagsvault" may refer to diags, a hardware diagnosis program via EFI for Macs - * that communicates with the SMBus controller, the effect is really unknown for hacks. - * Uncomment this with caution. - */ - - /** - Device (DVL0) - { - Name (_ADR, 0x57) // _ADR: Address - Name (_CID, "diagsvault") // _CID: Compatible ID - Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method - { - If (!Arg2) - { - Return (Buffer (One) - { - 0x57 // W - }) - } - - Return (Package (0x02) - { - "address", - 0x57 - }) - } - } - **/ - - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (0x0F) - } - Else - { - Return (Zero) - } - } - } -} \ No newline at end of file