coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Data Structures | |
struct | smm_save_state_ops |
Typedefs | |
typedef void(* | smi_handler_t) (const struct smm_save_state_ops *save_state_ops) |
Enumerations | |
enum | smm_reg { RAX , RBX , RCX , RDX } |
Variables | |
const smi_handler_t | southbridge_smi [32] |
const struct smm_save_state_ops | em64t100_smm_ops |
const struct smm_save_state_ops | em64t101_smm_ops |
typedef void(* smi_handler_t) (const struct smm_save_state_ops *save_state_ops) |
Definition at line 34 of file smihandler.h.
enum smm_reg |
Enumerator | |
---|---|
RAX | |
RBX | |
RCX | |
RDX |
Definition at line 15 of file smihandler.h.
const struct smm_save_state_ops* get_smm_save_state_ops | ( | void | ) |
Definition at line 18 of file smihandler.c.
References em64t100_smm_ops, and em64t101_smm_ops.
Referenced by southbridge_smi_handler().
Definition at line 26 of file smihandler.c.
References chromeec_smi_process_events(), CONFIG, and wilco_ec_smi_espi().
Referenced by smihandler_southbridge_espi().
void mainboard_smi_gpi_handler | ( | const struct gpi_status * | sts | ) |
Definition at line 16 of file smihandler.c.
References chromeec_smi_process_events(), CONFIG, EC_SMI_GPI, and gpi_status_get().
Referenced by smihandler_southbridge_gpi().
Definition at line 17 of file smihandler.c.
References BIOS_DEBUG, CONFIG, heci1_disable(), pci_or_config32(), printk, SMM_CODE_CHK_EN, SMM_FEATURE_CONTROL, SMM_FEATURE_CONTROL_LOCK, and UBOX_DEV_PMON.
Referenced by finalize().
int smihandler_soc_disable_busmaster | ( | pci_devfn_t | dev | ) |
Definition at line 9 of file smihandler.c.
References PCH_DEV_PMC.
Referenced by busmaster_disable_on_bus().
void smihandler_southbridge_apmc | ( | const struct smm_save_state_ops * | save_state_ops | ) |
Definition at line 367 of file smihandler.c.
References APM_CNT_ACPI_DISABLE, APM_CNT_ACPI_ENABLE, APM_CNT_ELOG_GSMI, APM_CNT_FINALIZE, APM_CNT_SMMSTORE, apm_get_apmc(), CONFIG, finalize(), mainboard_smi_apmc(), pmc_disable_pm1_control(), pmc_enable_pm1_control(), SCI_EN, southbridge_smi_gsmi(), and southbridge_smi_store().
void smihandler_southbridge_espi | ( | const struct smm_save_state_ops * | save_state_ops | ) |
Definition at line 497 of file smihandler.c.
References mainboard_smi_espi_handler().
void smihandler_southbridge_gpe0 | ( | const struct smm_save_state_ops * | save_state_ops | ) |
Definition at line 414 of file smihandler.c.
References pmc_clear_all_gpe_status().
void smihandler_southbridge_gpi | ( | const struct smm_save_state_ops * | save_state_ops | ) |
Definition at line 485 of file smihandler.c.
References gpi_clear_get_smi_status(), and mainboard_smi_gpi_handler().
void smihandler_southbridge_mc | ( | const struct smm_save_state_ops * | save_state_ops | ) |
Definition at line 43 of file smitraphandler.c.
References ACPI_BASE_ADDRESS, BIOS_DEBUG, inl(), MCSMI_EN, printk, and SMI_EN.
void smihandler_southbridge_monitor | ( | const struct smm_save_state_ops * | save_state_ops | ) |
Definition at line 55 of file smitraphandler.c.
References BIOS_DEBUG, gnvs, io_trap_handler(), IOTRAP, mask, PCR_PSTH_TRPC, PCR_PSTH_TRPD, PCR_PSTH_TRPST, pcr_read32(), pcr_read8(), pcr_write8(), PID_PSTH, printk, and global_nvs::smif.
void smihandler_southbridge_periodic | ( | const struct smm_save_state_ops * | save_state_ops | ) |
Definition at line 472 of file smihandler.c.
References BIOS_DEBUG, PERIODIC_EN, pmc_get_smi_en(), and printk.
void smihandler_southbridge_pm1 | ( | const struct smm_save_state_ops * | save_state_ops | ) |
Definition at line 396 of file smihandler.c.
References elog_gsmi_add_event(), ELOG_TYPE_POWER_BUTTON, pmc_clear_pm1_status(), pmc_disable_pm1_control(), pmc_enable_pm1_control(), pmc_read_pm1_enable(), PWRBTN_EN, PWRBTN_STS, SLP_EN, SLP_TYP_S5, and SLP_TYP_SHIFT.
void smihandler_southbridge_sleep | ( | const struct smm_save_state_ops * | save_state_ops | ) |
Definition at line 150 of file smihandler.c.
References ACPI_BASE_ADDRESS, ACPI_S0, ACPI_S3, ACPI_S4, ACPI_S5, BIOS_DEBUG, BIOS_SPEW, busmaster_disable_on_bus(), CONFIG, elog_gsmi_add_event_byte(), ELOG_TYPE_ACPI_ENTER, gnvs, hlt(), inl(), mainboard_smi_sleep(), mdelay(), PM1_CNT, pmc_clear_all_gpe_status(), pmc_clear_pm1_status(), pmc_disable_all_gpe(), pmc_disable_pm1_control(), pmc_disable_smi(), pmc_enable_pm1_control(), pmc_read_pm1_control(), pmc_set_power_failure_state(), printk, SCI_EN, SLP_EN, SLP_SMI_EN, SLP_TYP, uart_is_controller_initialized(), global_nvs::uior, and wbinvd().
void smihandler_southbridge_tco | ( | const struct smm_save_state_ops * | save_state_ops | ) |
Definition at line 420 of file smihandler.c.
References BIOS_CRIT, BIOS_DEBUG, CONFIG, fast_spi_clear_sync_smi_status(), fast_spi_enable_wp(), fast_spi_wpd_status(), pmc_clear_tco_status(), printk, set_insmm_sts(), TCO_INTRD_DET, and TCO_TIMEOUT.
|
extern |
Definition at line 627 of file smihandler.c.
Referenced by get_smm_save_state_ops().
|
extern |
Definition at line 627 of file smihandler.c.
Referenced by get_smm_save_state_ops().
|
extern |
Definition at line 17 of file smihandler.c.
Referenced by southbridge_smi_handler().