coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
agesawrapper.h File Reference
#include <agesa_headers.h>
Include dependency graph for agesawrapper.h:
This graph shows which files directly or indirectly include this file:

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)
 
voidagesawrapper_getlateinitptr (int pick)
 
void OemCustomizeInitEarly (AMD_EARLY_PARAMS *InitEarly)
 OemCustomizeInitEarly. More...
 
void amd_initcpuio (void)
 
const voidagesawrapper_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)
 

Enumeration Type Documentation

◆ anonymous enum

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.

Function Documentation

◆ agesa_execute_state()

AGESA_STATUS agesa_execute_state ( AGESA_STRUCT_NAME  func)

◆ agesa_get_dispatcher()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ agesawrapper_getlateinitptr()

void* agesawrapper_getlateinitptr ( int  pick)

◆ agesawrapper_locate_module()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ amd_initcpuio()

void amd_initcpuio ( void  )

◆ amd_late_run_ap_task()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OemCustomizeInitEarly()

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:

Parameters
[in]**PeiServices
[in]*InitEarly
Return values
VOID

Definition at line 142 of file OemCustomize.c.

References PcieComplex.

◆ OemPostParams()

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().

Here is the caller graph for this function:

◆ set_board_env_params()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetFchEnvParams()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetFchMidParams()

void SetFchMidParams ( FCH_INTERFACE *  params)

Definition at line 57 of file fch_agesa.c.

References params, and SetFchEnvParams().

Referenced by amd_init_mid().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetFchResetParams()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetMemParams()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetNbEnvParams()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetNbMidParams()

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().

Here is the caller graph for this function:

◆ soc_customize_init_early()

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().

Here is the call graph for this function:
Here is the caller graph for this function: