xref: /aosp_15_r20/external/coreboot/src/mainboard/bytedance/bd_egs/acpi/platform.asl (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1/* SPDX-License-Identifier: GPL-2.0-only */
2
3/* Enable ACPI _SWS methods */
4#include <soc/intel/common/acpi/acpi_wake_source.asl>
5#include <southbridge/intel/common/acpi/sleepstates.asl>
6
7/* Port 80 POST */
8OperationRegion (DBG0, SystemIO, 0x80, 0x02)
9Field (DBG0, ByteAcc, Lock, Preserve)
10{
11	IO80, 8,
12	IO81, 8
13}
14
15/*
16 * The _PTS method (Prepare To Sleep) is called before the OS is
17 * entering a sleep state. The sleep state number is passed in Arg0
18 */
19
20Method (_PTS, 1)
21{
22}
23
24/* The _WAK method is called on system wakeup */
25
26Method (_WAK, 1)
27{
28	Return (Package (){ 0, 0 })
29}
30