coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
smihandler.c File Reference
#include <baseboard/variants.h>
#include <cpu/x86/smm.h>
#include <ec/google/chromeec/ec.h>
#include <ec/google/chromeec/smm.h>
#include <elog.h>
#include <intelblocks/smihandler.h>
#include <variant/ec.h>
Include dependency graph for smihandler.c:

Go to the source code of this file.

Functions

void mainboard_smi_espi_handler (void)
 
void mainboard_smi_sleep (u8 slp_typ)
 
int mainboard_smi_apmc (u8 apmc)
 
void elog_gsmi_cb_mainboard_log_wake_source (void)
 

Function Documentation

◆ elog_gsmi_cb_mainboard_log_wake_source()

void elog_gsmi_cb_mainboard_log_wake_source ( void  )

Definition at line 35 of file smihandler.c.

References google_chromeec_log_events(), MAINBOARD_EC_LOG_EVENTS, and MAINBOARD_EC_S0IX_WAKE_EVENTS.

Here is the call graph for this function:

◆ mainboard_smi_apmc()

int mainboard_smi_apmc ( u8  apmc)

Definition at line 28 of file smihandler.c.

References chromeec_smi_apmc(), MAINBOARD_EC_SCI_EVENTS, and MAINBOARD_EC_SMI_EVENTS.

Here is the call graph for this function:

◆ mainboard_smi_espi_handler()

void mainboard_smi_espi_handler ( void  )

Definition at line 11 of file smihandler.c.

References chromeec_smi_process_events().

Here is the call graph for this function:

◆ mainboard_smi_sleep()

void mainboard_smi_sleep ( u8  slp_typ)

Definition at line 16 of file smihandler.c.

References chromeec_smi_sleep(), gpio_configure_pads(), MAINBOARD_EC_S3_WAKE_EVENTS, MAINBOARD_EC_S5_WAKE_EVENTS, and variant_sleep_gpio_table().

Here is the call graph for this function: