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>
6 #include <baseboard/ec.h>
7 
9 {
10  if (!CONFIG(EC_GOOGLE_CHROMEEC))
11  return;
12 
14 }
15 
16 void mainboard_smi_sleep(u8 slp_typ)
17 {
18  if (!CONFIG(EC_GOOGLE_CHROMEEC))
19  return;
20 
22 }
23 
25 {
26  if (CONFIG(EC_GOOGLE_CHROMEEC))
28 
29  return 0;
30 }
void __weak mainboard_smi_sleep(u8 slp_typ)
Definition: smihandler.c:210
int __weak mainboard_smi_apmc(u8 data)
Definition: smihandler.c:209
@ CONFIG
Definition: dsi_common.h:201
void chromeec_smi_sleep(int slp_type, uint64_t s3_mask, uint64_t s5_mask)
Definition: smihandler.c:48
void chromeec_smi_process_events(void)
Definition: smihandler.c:29
void chromeec_smi_apmc(int apmc, uint64_t sci_mask, uint64_t smi_mask)
Definition: smihandler.c:89
#define MAINBOARD_EC_S5_WAKE_EVENTS
Definition: ec.h:32
#define MAINBOARD_EC_SCI_EVENTS
Definition: ec.h:12
#define MAINBOARD_EC_SMI_EVENTS
Definition: ec.h:28
#define MAINBOARD_EC_S3_WAKE_EVENTS
Definition: ec.h:37
void mainboard_smi_espi_handler(void)
Definition: smihandler.c:26
uint8_t u8
Definition: stdint.h:45