coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
smihandler.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #include <cpu/x86/smm.h>
4 #include <ec/google/wilco/smm.h>
6 #include <variant/ec.h>
7 
9 {
11 }
12 
13 void mainboard_smi_sleep(u8 slp_typ)
14 {
15  wilco_ec_smi_sleep(slp_typ);
16 }
17 
19 {
20  wilco_ec_smi_apmc(apmc);
21  return 0;
22 }
void __weak mainboard_smi_sleep(u8 slp_typ)
Definition: smihandler.c:210
int __weak mainboard_smi_apmc(u8 data)
Definition: smihandler.c:209
void wilco_ec_smi_espi(void)
wilco_ec_smi_espi
Definition: smihandler.c:38
void wilco_ec_smi_sleep(int slp_type)
wilco_ec_smi_sleep
Definition: smihandler.c:11
void wilco_ec_smi_apmc(int apmc)
wilco_ec_smi_apmc
Definition: smihandler.c:26
void mainboard_smi_espi_handler(void)
Definition: smihandler.c:26
uint8_t u8
Definition: stdint.h:45