coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
agesawrapper.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef AMD_BLOCK_AGESAWRAPPER_H
4 #define AMD_BLOCK_AGESAWRAPPER_H
5 
6 #include <agesa_headers.h>
7 
8 enum {
9  PICK_DMI, /* DMI Interface */
10  PICK_PSTATE, /* Acpi Pstate SSDT Table */
11  PICK_SRAT, /* SRAT Table */
12  PICK_SLIT, /* SLIT Table */
13  PICK_WHEA_MCE, /* WHEA MCE table */
14  PICK_WHEA_CMC, /* WHEA CMV table */
15  PICK_ALIB, /* SACPI SSDT table with ALIB implementation */
16  PICK_IVRS, /* IOMMU ACPI IVRS (I/O Virt. Reporting Structure) */
18 };
19 
20 /* Return current dispatcher or NULL on error. */
22 
23 AGESA_STATUS agesa_execute_state(AGESA_STRUCT_NAME func);
24 AGESA_STATUS amd_late_run_ap_task(AP_EXE_PARAMS *ApExeParams);
25 
26 void *agesawrapper_getlateinitptr(int pick);
27 
28 void OemCustomizeInitEarly(AMD_EARLY_PARAMS *InitEarly);
29 void amd_initcpuio(void);
30 const void *agesawrapper_locate_module(const char name[8]);
31 
32 void SetFchResetParams(FCH_RESET_INTERFACE *params);
33 void OemPostParams(AMD_POST_PARAMS *PostParams);
34 void SetMemParams(AMD_POST_PARAMS *PostParams);
35 void SetFchEnvParams(FCH_INTERFACE *params);
36 void SetNbEnvParams(GNB_ENV_CONFIGURATION *params);
37 void SetFchMidParams(FCH_INTERFACE *params);
38 void SetNbMidParams(GNB_MID_CONFIGURATION *params);
39 void set_board_env_params(GNB_ENV_CONFIGURATION *params);
40 void soc_customize_init_early(AMD_EARLY_PARAMS *InitEarly);
41 
42 #endif /* AMD_BLOCK_AGESAWRAPPER_H */
unsigned int AGESA_STATUS
Definition: Amd.h:36
AGESA_STATUS(* MODULE_ENTRY)(IN OUT void *ConfigPtr)
Definition: Amd.h:49
void SetNbEnvParams(GNB_ENV_CONFIGURATION *params)
Definition: northbridge.c:461
void OemCustomizeInitEarly(AMD_EARLY_PARAMS *InitEarly)
OemCustomizeInitEarly.
Definition: OemCustomize.c:142
@ PICK_PSTATE
Definition: agesawrapper.h:10
@ PICK_IVRS
Definition: agesawrapper.h:16
@ PICK_WHEA_CMC
Definition: agesawrapper.h:14
@ PICK_SRAT
Definition: agesawrapper.h:11
@ PICK_SLIT
Definition: agesawrapper.h:12
@ PICK_WHEA_MCE
Definition: agesawrapper.h:13
@ PICK_ALIB
Definition: agesawrapper.h:15
@ PICK_CRAT
Definition: agesawrapper.h:17
@ PICK_DMI
Definition: agesawrapper.h:9
void SetFchMidParams(FCH_INTERFACE *params)
Definition: fch_agesa.c:57
void SetFchEnvParams(FCH_INTERFACE *params)
Definition: fch_agesa.c:40
void soc_customize_init_early(AMD_EARLY_PARAMS *InitEarly)
Definition: romstage.c:185
void OemPostParams(AMD_POST_PARAMS *PostParams)
Definition: OemCustomize.c:25
void amd_initcpuio(void)
Definition: fixme.c:11
MODULE_ENTRY agesa_get_dispatcher(void)
void SetMemParams(AMD_POST_PARAMS *PostParams)
Definition: agesawrapper.c:15
void SetNbMidParams(GNB_MID_CONFIGURATION *params)
Definition: northbridge.c:468
void set_board_env_params(GNB_ENV_CONFIGURATION *params)
Definition: OemCustomize.c:65
void * agesawrapper_getlateinitptr(int pick)
Definition: acpi_tables.c:34
void SetFchResetParams(FCH_RESET_INTERFACE *params)
Definition: fch_agesa.c:27
AGESA_STATUS agesa_execute_state(AGESA_STRUCT_NAME func)
Definition: agesawrapper.c:391
const void * agesawrapper_locate_module(const char name[8])
AGESA_STATUS amd_late_run_ap_task(AP_EXE_PARAMS *ApExeParams)
Definition: agesawrapper.c:48
const char * name
Definition: mmu.c:92
static struct sdram_info params
Definition: sdram_configs.c:83