coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <acpi/acpi.h>
#include <amdblocks/acpi.h>
#include <amdblocks/acpimmio.h>
#include <amdblocks/psp.h>
#include <amdblocks/smi.h>
#include <amdblocks/smm.h>
#include <arch/hlt.h>
#include <arch/io.h>
#include <console/console.h>
#include <cpu/x86/cache.h>
#include <cpu/x86/smm.h>
#include <elog.h>
#include <soc/smi.h>
#include <soc/smu.h>
#include <soc/southbridge.h>
#include <types.h>
Go to the source code of this file.
Functions | |
static void | fch_apmc_smi_handler (void) |
static void | fch_slp_typ_handler (void) |
int | southbridge_io_trap_handler (int smif) |
void * | get_smi_source_handler (int source) |
Variables | |
static const struct smi_sources_t | smi_sources [] |
Definition at line 20 of file smihandler.c.
References acpi_clear_pm_gpe_status(), acpi_disable_sci(), acpi_enable_sci(), APM_CNT_ACPI_DISABLE, APM_CNT_ACPI_ENABLE, APM_CNT_ELOG_GSMI, APM_CNT_SMMINFO, APM_CNT_SMMSTORE, CONFIG, handle_smi_gsmi(), handle_smi_store(), inb(), mainboard_smi_apmc(), pm_acpi_smi_cmd_port(), and psp_notify_smm().
Definition at line 48 of file smihandler.c.
References acpi_read16(), acpi_read32(), ACPI_S0, ACPI_S3, ACPI_S4, ACPI_S5, BIOS_DEBUG, BIOS_ERR, BIOS_SPEW, clear_all_smi_status(), CONFIG, elog_add_extended_event(), elog_gsmi_add_event_byte(), ELOG_SLEEP_PENDING_GPE0_WAKE, ELOG_SLEEP_PENDING_PM1_WAKE, ELOG_TYPE_ACPI_ENTER, FORCE_SLPSTATE_RETRY, hlt(), mainboard_smi_sleep(), MMIO_ACPI_GPE0_EN, MMIO_ACPI_GPE0_STS, MMIO_ACPI_PM1_CNT_BLK, MMIO_ACPI_PM1_EN, MMIO_ACPI_PM1_STS, PM_PCI_CTRL, pm_read32(), pm_read8(), PM_RST_CTRL1, pm_write32(), pm_write8(), printk, psp_notify_sx_info(), SLPTYPE_CONTROL_EN, smu_sx_entry(), and wbinvd().
void* get_smi_source_handler | ( | int | source | ) |
Definition at line 147 of file smihandler.c.
References ARRAY_SIZE, smi_sources_t::handler, NULL, smi_sources, and type.
int southbridge_io_trap_handler | ( | int | smif | ) |
Definition at line 133 of file smihandler.c.
|
static |
Definition at line 133 of file smihandler.c.
Referenced by get_smi_source_handler().