![]() |
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/msr.h>
#include <cpu/x86/smm.h>
#include <ec/acpi/ec.h>
#include <soc/nvs.h>
Go to the source code of this file.
Macros | |
#define | APM_CNT_BOARD_SMI 0xDD |
Functions | |
static void | toggle_turbo_disable (uint8_t function_parameter_0) |
static void | enable_rf_by_capability (void) |
static void | handle_acpi_osys (void) |
static void | handle_acpi_wake_event (uint8_t function_parameter_0, uint8_t function_parameter_1) |
static void | ec_smi_handler (uint8_t smif) |
int | mainboard_smi_apmc (u8 data) |
#define APM_CNT_BOARD_SMI 0xDD |
Definition at line 24 of file smihandler.c.
Definition at line 115 of file smihandler.c.
References APM_STS, BIOS_DEBUG, BIOS_WARNING, gnvs, handle_acpi_wake_event(), inb(), printk, global_nvs::smif, and toggle_turbo_disable().
Referenced by mainboard_smi_apmc().
Definition at line 40 of file smihandler.c.
References ec_read(), and ec_write().
Referenced by handle_acpi_wake_event().
Definition at line 50 of file smihandler.c.
References BIOS_DEBUG, ec_write(), gnvs, printk, and global_nvs::unused_was_osys.
Referenced by handle_acpi_wake_event().
|
static |
Definition at line 87 of file smihandler.c.
References BIOS_DEBUG, enable_rf_by_capability(), handle_acpi_osys(), and printk.
Referenced by ec_smi_handler().
int mainboard_smi_apmc | ( | u8 | data | ) |
Definition at line 155 of file smihandler.c.
References APM_CNT_ACPI_DISABLE, APM_CNT_ACPI_ENABLE, APM_CNT_BOARD_SMI, ec_clear_out_queue(), ec_set_ports(), ec_smi_handler(), gnvs, send_ec_command(), send_ec_data(), and global_nvs::smif.
Definition at line 28 of file smihandler.c.
References BIOS_DEBUG, IA32_MISC_ENABLE, msr_set(), msr_unset(), and printk.
Referenced by ec_smi_handler().