coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/io.h>
#include <console/console.h>
#include <cpu/x86/smm.h>
#include <ec/acpi/ec.h>
#include <ec/lenovo/h8/h8.h>
#include <southbridge/intel/bd82x6x/pch.h>
#include <southbridge/intel/common/pmutil.h>
Go to the source code of this file.
Macros | |
#define | GPE_EC_SCI 1 |
#define | GPE_EC_WAKE 13 |
Functions | |
static void | mainboard_smi_handle_ec_sci (void) |
void | mainboard_smi_gpi (u32 gpi_sts) |
int | mainboard_smi_apmc (u8 data) |
void | mainboard_smi_sleep (u8 slp_typ) |
#define GPE_EC_SCI 1 |
Definition at line 11 of file smihandler.c.
#define GPE_EC_WAKE 13 |
Definition at line 12 of file smihandler.c.
int mainboard_smi_apmc | ( | u8 | data | ) |
Definition at line 32 of file smihandler.c.
References APM_CNT_ACPI_DISABLE, APM_CNT_ACPI_ENABLE, ec_set_ports(), ec_write(), GPE_EC_SCI, GPI_IS_SCI, GPI_IS_SMI, and gpi_route_interrupt().
Definition at line 26 of file smihandler.c.
References GPE_EC_SCI, and mainboard_smi_handle_ec_sci().
Definition at line 14 of file smihandler.c.
References BIOS_DEBUG, ec_query(), EC_SC, EC_SCI_EVT, inb(), and printk.
Referenced by mainboard_smi_gpi().
Definition at line 58 of file smihandler.c.
References ec_read(), GPE_EC_WAKE, GPI_IS_SCI, and gpi_route_interrupt().