1 /* SPDX-License-Identifier: GPL-2.0-only */
4 #include <cpu/x86/smm.h>
9 void ec_smi_apmc(uint8_t apmc
)
11 printk(BIOS_DEBUG
, "EC SMI APMC handler\n");
14 case APM_CNT_ACPI_ENABLE
:
15 ec_set_acpi_mode(true);
17 case APM_CNT_ACPI_DISABLE
:
18 ec_set_acpi_mode(false);
25 void ec_smi_sleep(uint8_t slp_type
)
27 printk(BIOS_DEBUG
, "EC SMI sleep handler\n");
32 ec_set_enter_g3_in_s4s5(true);