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)
 
int mainboard_smi_apmc (u8 apmc)
 

Function Documentation

◆ mainboard_smi_apmc()

int mainboard_smi_apmc ( u8  apmc)

Definition at line 46 of file smihandler.c.

References EC_ACPI_DISABLE, EC_ACPI_ENABLE, EC_MAILBOX_PORT, ec_set_ports(), EC_SMI_DISABLE, EC_SMI_ENABLE, and send_ec_command().

Here is the call graph for this function:

◆ mainboard_smi_ec()

static u8 mainboard_smi_ec ( void  )
static

Definition at line 13 of file smihandler.c.

References BIOS_DEBUG, EC_GET_SMI_CAUSE, EC_LID_CLOSE, PM1_CNT, printk, read_ec_command_byte(), 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_MAILBOX_PORT, ec_set_ports(), EC_SMI_DISABLE, EC_SMI_ENABLE, EC_SMI_GPI, mainboard_smi_ec(), and send_ec_command().

Here is the call graph for this function: