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

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 28 of file smihandler.c.

References APM_CNT_ACPI_DISABLE, APM_CNT_ACPI_ENABLE, EC_CMD_DISABLE_ACPI_MODE, EC_CMD_ENABLE_ACPI_MODE, and ec_write_cmd().

Here is the call graph for this function:

◆ mainboard_smi_sleep()

void mainboard_smi_sleep ( u8  slp_typ)

Definition at line 14 of file smihandler.c.

References BIOS_DEBUG, EC_EC_PSW, ec_mem_read(), ec_mem_write(), EC_PSW_IKB, EC_PSW_USB, gnvs, printk, global_nvs::s3u0, and global_nvs::s3u1.

Here is the call graph for this function: