![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#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"
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) |
int mainboard_io_trap_handler | ( | int | smif | ) |
Definition at line 13 of file smihandler.c.
References BIOS_DEBUG, gnvs, printk, and global_nvs::smif.
int mainboard_smi_apmc | ( | u8 | apmc | ) |
Definition at line 56 of file smihandler.c.
References APM_CNT_ACPI_DISABLE, and APM_CNT_ACPI_ENABLE.
Definition at line 34 of file smihandler.c.
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().