![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <console/console.h>
#include <cpu/x86/smm.h>
#include <ec/google/chromeec/smm.h>
#include <soc/iomap.h>
#include <soc/nvs.h>
#include <soc/pm.h>
#include <intelblocks/smihandler.h>
#include "ec.h"
#include "gpio.h"
Go to the source code of this file.
Functions | |
int | mainboard_io_trap_handler (int smif) |
void | mainboard_smi_gpi_handler (const struct gpi_status *sts) |
void | mainboard_smi_sleep (u8 slp_typ) |
int | mainboard_smi_apmc (u8 apmc) |
int mainboard_io_trap_handler | ( | int | smif | ) |
Definition at line 13 of file smihandler.c.
References BIOS_DEBUG, gnvs, printk, and global_nvs::smif.
int mainboard_smi_apmc | ( | u8 | apmc | ) |
Definition at line 46 of file smihandler.c.
References chromeec_smi_apmc(), CONFIG, MAINBOARD_EC_SCI_EVENTS, and MAINBOARD_EC_SMI_EVENTS.
void mainboard_smi_gpi_handler | ( | const struct gpi_status * | sts | ) |
Definition at line 33 of file smihandler.c.
References chromeec_smi_process_events(), EC_SMI_GPI, and gpi_status_get().
Definition at line 39 of file smihandler.c.
References chromeec_smi_sleep(), CONFIG, MAINBOARD_EC_S3_WAKE_EVENTS, and MAINBOARD_EC_S5_WAKE_EVENTS.