coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
smihandler.c File Reference
#include <acpi/acpi.h>
#include <console/console.h>
#include <cpu/x86/smm.h>
#include <soc/pm.h>
#include <ec/google/chromeec/ec.h>
#include <southbridge/intel/lynxpoint/lp_gpio.h>
#include <soc/iomap.h>
#include <soc/nvs.h>
#include "onboard.h"
Include dependency graph for smihandler.c:

Go to the source code of this file.

Functions

int mainboard_io_trap_handler (int smif)
 
void mainboard_smi_gpi (u32 gpi_sts)
 
void mainboard_smi_sleep (u8 slp_typ)
 
int mainboard_smi_apmc (u8 apmc)
 

Function Documentation

◆ mainboard_io_trap_handler()

int mainboard_io_trap_handler ( int  smif)

Definition at line 13 of file smihandler.c.

References BIOS_DEBUG, gnvs, printk, and global_nvs::smif.

◆ mainboard_smi_apmc()

int mainboard_smi_apmc ( u8  apmc)

Definition at line 56 of file smihandler.c.

References APM_CNT_ACPI_DISABLE, and APM_CNT_ACPI_ENABLE.

◆ mainboard_smi_gpi()

void mainboard_smi_gpi ( u32  gpi_sts)

Definition at line 34 of file smihandler.c.

◆ mainboard_smi_sleep()

void mainboard_smi_sleep ( u8  slp_typ)

Definition at line 38 of file smihandler.c.

References ACPI_S3, ACPI_S5, CONFIG, GPIO_USB_CTL_1, LED_BLINK, LED_OFF, set_gpio(), and set_power_led().

Here is the call graph for this function: