1/* SPDX-License-Identifier: GPL-2.0-only */ 2 3/* The APM port can be used for generating software SMIs */ 4 5OperationRegion (APMP, SystemIO, 0xb2, 2) 6Field (APMP, ByteAcc, NoLock, Preserve) 7{ 8 APMC, 8, // APM command 9 APMS, 8 // APM status 10} 11 12#include <arch/x86/acpi/post.asl> 13 14Name(\APC1, 0) // IIO IOAPIC 15 16/* 17 * The _PTS method (Prepare To Sleep) is called before the OS is 18 * entering a sleep state. The sleep state number is passed in Arg0 19 */ 20 21Method(_PTS,1) 22{ 23} 24 25/* The _WAK method is called on system wakeup */ 26 27Method(_WAK,1) 28{ 29 Return(Package(){0,0}) 30} 31