coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
smihandler.c File Reference
Include dependency graph for smihandler.c:

Go to the source code of this file.

Functions

static u8 mainboard_smi_ec (void)
 
void mainboard_smi_gpi (u32 gpi_sts)
 
void mainboard_smi_sleep (u8 slp_typ)
 
int mainboard_smi_apmc (u8 apmc)
 

Function Documentation

◆ mainboard_smi_apmc()

int mainboard_smi_apmc ( u8  apmc)

Definition at line 72 of file smihandler.c.

References APM_CNT_ACPI_DISABLE, APM_CNT_ACPI_ENABLE, APM_CNT_FINALIZE, EC_CMD_NOTIFY_ACPI_ENTER, EC_CMD_NOTIFY_ACPI_EXIT, ec_write_cmd(), and stout_ec_finalize_smm().

Here is the call graph for this function:

◆ mainboard_smi_ec()

static u8 mainboard_smi_ec ( void  )
static

Definition at line 16 of file smihandler.c.

References BIOS_DEBUG, ec_it8518_get_event(), EC_SMI_LID_CLOSED, PM1_CNT, printk, read_pmbase32(), and write_pmbase32().

Referenced by mainboard_smi_gpi().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mainboard_smi_gpi()

void mainboard_smi_gpi ( u32  gpi_sts)

Definition at line 31 of file smihandler.c.

References EC_SMI_GPI, and mainboard_smi_ec().

Here is the call graph for this function:

◆ mainboard_smi_sleep()