![]() |
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_relocation_params |
Functions | |
void | get_smm_info (uintptr_t *perm_smbase, size_t *perm_smsize, size_t *smm_save_state_size) |
void | smm_relocation_handler (int cpu, uintptr_t curr_smbase, uintptr_t staggered_smbase) |
void * | get_smi_source_handler (int source) |
void | handle_smi_gsmi (void) |
void | handle_smi_store (void) |
void | clear_tvalid (void) |
void | mainboard_handle_smi (int event) |
Definition at line 12 of file smm_helper.c.
References BIOS_ERR, HWCR_MSR, msr_struct::lo, mask, printk, rdmsr(), SMM_LOCK, SMM_MASK_MSR, SMM_TSEG_VALID, and wrmsr().
Referenced by smm_region().
void* get_smi_source_handler | ( | int | source | ) |
Definition at line 145 of file smihandler.c.
References ARRAY_SIZE, smi_sources_t::handler, NULL, smi_sources, and type.
Referenced by process_smi_sources().
Definition at line 29 of file smm_relocate.c.
Definition at line 50 of file smi_apmc_helper.c.
References APM_CNT_ELOG_GSMI, find_save_state(), and gsmi_exec().
Referenced by fch_apmc_smi_handler().
Definition at line 69 of file smi_apmc_helper.c.
References APM_CNT_SMMSTORE, find_save_state(), and smmstore_exec().
Referenced by fch_apmc_smi_handler().
void mainboard_handle_smi | ( | int | event | ) |
Definition at line 10 of file smi_handler.c.
References BIOS_WARNING, and printk.
Referenced by process_smi_sources().
Definition at line 90 of file smmrelocate.c.
References BIOS_DEBUG, BIOS_SPEW, bsp_setup_msr_save_state(), cpu_has_alternative_smrr(), smm_relocation_params::ied_base, smm_relocation_params::ied_size, intel_ht_sibling(), msr_struct::lo, MTRR_CAP_MSR, printk, PRMRR_SUPPORTED, rdmsr(), save_state, SMM_ADDR_MSR, SMM_AMD64_SAVE_STATE_OFFSET, SMM_CPU_SAVE_EN, SMM_DEFAULT_SIZE, SMM_FEATURE_CONTROL_MSR, SMM_MASK_MSR, smm_reloc_params, smm_relocation_params::smm_save_state_in_msrs, SMRR_LOCK_SUPPORTED, smm_relocation_params::smrr_mask, SMRR_PHYS_MASK_LOCK, SMRR_SUPPORTED, smm_relocation_params::tseg_base, smm_relocation_params::tseg_mask, update_save_state(), write_prmrr(), write_smrr(), write_smrr_alt(), write_uncore_prmrr(), and wrmsr().