-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
weiyien
committed
Jun 29, 2020
0 parents
commit 2445a01
Showing
39 changed files
with
13,821 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.