Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
weiyien committed Jun 29, 2020
0 parents commit 2445a01
Show file tree
Hide file tree
Showing 39 changed files with 13,821 additions and 0 deletions.
Binary file added EFI/.DS_Store
Binary file not shown.
Binary file added EFI/BOOT/BOOTx64.efi
Binary file not shown.
Binary file added EFI/OC/.DS_Store
Binary file not shown.
Binary file added EFI/OC/ACPI/SSDT-AWAC.aml
Binary file not shown.
25 changes: 25 additions & 0 deletions EFI/OC/ACPI/SSDT-AWAC.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* For 300-series only. If you can't force enable Legacy RTC in BIOS GUI.
* macOS does yet not support AWAC, so we have to force enable RTC. Do not use RTC ACPI patch.
*
* The Time and Alarm device provides an alternative to the real time clock (RTC), which is defined as a fixed feature hardware device.
* The wake timers allow the system to transition from the S3 (or optionally S4/S5) state to S0 state after a time period elapses.
* In comparison with the Real Time Clock (RTC) Alarm, the Time and Alarm device provides a larger scale of flexibility in the operation of the wake timers,
* and allows the implementation of the time source to be abstracted from the OSPM.
*/

DefinitionBlock ("", "SSDT", 2, "ACDT", "AWAC", 0x00000000)
{
External (STAS, IntObj)

Scope (_SB)
{
Method (_INI, 0, NotSerialized) // _INI: Initialize
{
If (_OSI ("Darwin"))
{
STAS = One
}
}
}
}
Binary file added EFI/OC/ACPI/SSDT-EC.aml
Binary file not shown.
24 changes: 24 additions & 0 deletions EFI/OC/ACPI/SSDT-EC.dsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

DefinitionBlock ("", "SSDT", 2, "CORP ", "SsdtEC", 0x00001000)
{
External (_SB_.PCI0.LPCB, DeviceObj)

Scope (\_SB.PCI0.LPCB)
{
Device (EC)
{
Name (_HID, "ACID0001") // _HID: Hardware ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (_OSI ("Darwin"))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
}
}
Binary file added EFI/OC/Bootstrap/Bootstrap.efi
Binary file not shown.
Binary file added EFI/OC/Drivers/AudioDxe.efi
Binary file not shown.
Binary file added EFI/OC/Drivers/HfsPlus.efi
Binary file not shown.
Binary file added EFI/OC/Drivers/OpenRuntime.efi
Binary file not shown.
Binary file added EFI/OC/Kexts/.DS_Store
Binary file not shown.
Loading

0 comments on commit 2445a01

Please sign in to comment.