2 * This file is part of the coreboot project.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #ifndef __AGESAWRAPPER_H__
16 #define __AGESAWRAPPER_H__
19 #include <agesa_headers.h>
22 PICK_DMI
, /* DMI Interface */
23 PICK_PSTATE
, /* Acpi Pstate SSDT Table */
24 PICK_SRAT
, /* SRAT Table */
25 PICK_SLIT
, /* SLIT Table */
26 PICK_WHEA_MCE
, /* WHEA MCE table */
27 PICK_WHEA_CMC
, /* WHEA CMV table */
28 PICK_ALIB
, /* SACPI SSDT table with ALIB implementation */
29 PICK_IVRS
, /* IOMMU ACPI IVRS (I/O Virt. Reporting Structure) */
33 /* Return current dispatcher or NULL on error. */
34 MODULE_ENTRY
agesa_get_dispatcher(void);
36 AGESA_STATUS
agesa_execute_state(AGESA_STRUCT_NAME func
);
37 AGESA_STATUS
amd_late_run_ap_task(AP_EXE_PARAMS
*ApExeParams
);
39 void *agesawrapper_getlateinitptr(int pick
);
42 void OemCustomizeInitEarly(AMD_EARLY_PARAMS
*InitEarly
);
43 void amd_initcpuio(void);
44 const void *agesawrapper_locate_module(const char name
[8]);
46 void SetFchResetParams(FCH_RESET_INTERFACE
*params
);
47 void OemPostParams(AMD_POST_PARAMS
*PostParams
);
48 void SetMemParams(AMD_POST_PARAMS
*PostParams
);
49 void SetFchEnvParams(FCH_INTERFACE
*params
);
50 void SetNbEnvParams(GNB_ENV_CONFIGURATION
*params
);
51 void SetFchMidParams(FCH_INTERFACE
*params
);
52 void SetNbMidParams(GNB_MID_CONFIGURATION
*params
);
53 void set_board_env_params(GNB_ENV_CONFIGURATION
*params
);
54 void soc_customize_init_early(AMD_EARLY_PARAMS
*InitEarly
);
56 #endif /* __AGESAWRAPPER_H__ */