![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <agesa_headers.h>
Go to the source code of this file.
Enumerations | |
enum | { PICK_DMI , PICK_PSTATE , PICK_SRAT , PICK_SLIT , PICK_WHEA_MCE , PICK_WHEA_CMC , PICK_ALIB , PICK_IVRS , PICK_CRAT } |
Functions | |
MODULE_ENTRY | agesa_get_dispatcher (void) |
AGESA_STATUS | agesa_execute_state (AGESA_STRUCT_NAME func) |
AGESA_STATUS | amd_late_run_ap_task (AP_EXE_PARAMS *ApExeParams) |
void * | agesawrapper_getlateinitptr (int pick) |
void | OemCustomizeInitEarly (AMD_EARLY_PARAMS *InitEarly) |
OemCustomizeInitEarly. More... | |
void | amd_initcpuio (void) |
const void * | agesawrapper_locate_module (const char name[8]) |
void | SetFchResetParams (FCH_RESET_INTERFACE *params) |
void | OemPostParams (AMD_POST_PARAMS *PostParams) |
void | SetMemParams (AMD_POST_PARAMS *PostParams) |
void | SetFchEnvParams (FCH_INTERFACE *params) |
void | SetNbEnvParams (GNB_ENV_CONFIGURATION *params) |
void | SetFchMidParams (FCH_INTERFACE *params) |
void | SetNbMidParams (GNB_MID_CONFIGURATION *params) |
void | set_board_env_params (GNB_ENV_CONFIGURATION *params) |
void | soc_customize_init_early (AMD_EARLY_PARAMS *InitEarly) |
anonymous enum |
Enumerator | |
---|---|
PICK_DMI | |
PICK_PSTATE | |
PICK_SRAT | |
PICK_SLIT | |
PICK_WHEA_MCE | |
PICK_WHEA_CMC | |
PICK_ALIB | |
PICK_IVRS | |
PICK_CRAT |
Definition at line 8 of file agesawrapper.h.
AGESA_STATUS agesa_execute_state | ( | AGESA_STRUCT_NAME | func | ) |
Definition at line 391 of file agesawrapper.c.
References AGESA_UNSUPPORTED, amd_create_struct(), amd_release_struct(), ENV_RAMSTAGE, ENV_ROMSTAGE, _AMD_CONFIG_PARAMS::Func, memset(), NULL, ramstage_dispatch(), and romstage_dispatch().
MODULE_ENTRY agesa_get_dispatcher | ( | void | ) |
Definition at line 89 of file refcode_loader.c.
References agesa_dispatcher, agesawrapper_locate_module(), and NULL.
Referenced by module_dispatch().
void* agesawrapper_getlateinitptr | ( | int | pick | ) |
Definition at line 34 of file acpi_tables.c.
References AcpiAlib, AcpiCrat, AcpiIvrs, AcpiPstate, AcpiSlit, AcpiSrat, AcpiWheaCmc, AcpiWheaMce, AmdLateParams, ASSERT, DmiTable, NULL, PICK_ALIB, PICK_CDIT, PICK_CRAT, PICK_DMI, PICK_IVRS, PICK_PSTATE, PICK_SLIT, PICK_SRAT, PICK_WHEA_CMC, and PICK_WHEA_MCE.
Referenced by acpi_fill_hest(), acpi_fill_ivrs(), agesa_write_acpi_tables(), and prepare_dmi_17().
const void* agesawrapper_locate_module | ( | const char | name[8] | ) |
Definition at line 59 of file refcode_loader.c.
References agesa_map_raw_file(), agesa_map_stage_file(), amd_find_image(), assert, CONFIG, get_agesa_cbfs_name(), _AMD_IMAGE_HEADER::ModuleInfoOffset, name, and NULL.
Referenced by agesa_get_dispatcher().
Definition at line 11 of file fixme.c.
References AccessWidth32, ALIGN_DOWN, amd_topmem(), base, D18F1_VGAEN, HPET_BASE_ADDRESS, IO_RE, IO_WE, KiB, LAPIC_DEFAULT_BASE, MMIO_NP, MMIO_RE, MMIO_WE, NB_IO_BASE, NB_IO_LIMIT, NB_MMIO_BASE_LO, NB_MMIO_LIMIT_LO, pci_write_config32(), SOC_ADDR_DEV, TOP_MEM, and VGA_ADDR_ENABLE.
Referenced by amd_init_mid(), amd_s3late_restore(), platform_AfterS3LateRestore(), and platform_BeforeInitMid().
AGESA_STATUS amd_late_run_ap_task | ( | AP_EXE_PARAMS * | ApExeParams | ) |
Definition at line 48 of file agesawrapper.c.
References module_dispatch().
Referenced by callout_ap_entry().
void OemCustomizeInitEarly | ( | AMD_EARLY_PARAMS * | InitEarly | ) |
OemCustomizeInitEarly.
Description: This is the stub function will call the host environment through the binary block interface (call-out port) to provide a user hook opportunity.
Parameters:
[in] | **PeiServices | |
[in] | *InitEarly |
VOID |
Definition at line 142 of file OemCustomize.c.
References PcieComplex.
void OemPostParams | ( | AMD_POST_PARAMS * | PostParams | ) |
Definition at line 25 of file OemCustomize.c.
References CONFIG, DDR4_2T_MemoryConfiguration, and DDR4PlatformMemoryConfiguration.
Referenced by amd_init_post().
void set_board_env_params | ( | GNB_ENV_CONFIGURATION * | params | ) |
Definition at line 65 of file OemCustomize.c.
References BIOS_INFO, BIOS_WARNING, device::chip_info, GNB_DEVFN, GPIO_133, gpio_set(), soc_amd_stoneyridge_config::lvds_poseq_blon_to_varybl, soc_amd_stoneyridge_config::lvds_poseq_varybl_to_blon, params, pcidev_path_on_root(), and printk.
Referenced by SetNbEnvParams().
void SetFchEnvParams | ( | FCH_INTERFACE * | params | ) |
Definition at line 40 of file fch_agesa.c.
References device::enabled, is_sata_config(), params, pcidev_path_on_root(), and SATA_DEVFN.
Referenced by amd_init_env(), and SetFchMidParams().
void SetFchMidParams | ( | FCH_INTERFACE * | params | ) |
Definition at line 57 of file fch_agesa.c.
References params, and SetFchEnvParams().
Referenced by amd_init_mid().
void SetFchResetParams | ( | FCH_RESET_INTERFACE * | params | ) |
Definition at line 27 of file fch_agesa.c.
References CONFIG, device::enabled, params, pcidev_path_on_root(), SATA_DEVFN, sb_ide_enable(), and sb_sata_enable().
Referenced by amd_init_reset().
void SetMemParams | ( | AMD_POST_PARAMS * | PostParams | ) |
Definition at line 15 of file agesawrapper.c.
References BIOS_ERR, device::chip_info, CONFIG, soc_amd_stoneyridge_config::dram_clear_on_reset, GNB_DEVFN, KiB, pcidev_path_on_root(), printk, soc_amd_stoneyridge_config::uma_mode, and soc_amd_stoneyridge_config::uma_size.
Referenced by amd_init_post().
void SetNbEnvParams | ( | GNB_ENV_CONFIGURATION * | params | ) |
Definition at line 461 of file northbridge.c.
References device::enabled, params, set_board_env_params(), and SOC_IOMMU_DEV.
Referenced by amd_init_env().
void SetNbMidParams | ( | GNB_MID_CONFIGURATION * | params | ) |
Definition at line 468 of file northbridge.c.
References IO_APIC2_ADDR, and params.
Referenced by amd_init_mid().
void soc_customize_init_early | ( | AMD_EARLY_PARAMS * | InitEarly | ) |
Definition at line 185 of file romstage.c.
References BIOS_WARNING, device::chip_info, GNB_DEVFN, pcidev_path_on_root(), printk, soc_amd_stoneyridge_config::stapm_percent, soc_amd_stoneyridge_config::stapm_power_mw, and soc_amd_stoneyridge_config::stapm_time_ms.
Referenced by amd_init_early().