/* *--------------------------------------------------------------------------------------- * * Initializer routine that will be invoked by the wrapper * to initialize the input structure for the AmdInitEnv * * @param[in,out] EnvParamsPtr Newly created interface parameters for AmdInitEnv * * @retval AGESA_SUCCESS Always succeeds * *--------------------------------------------------------------------------------------- */ AGESA_STATUS AmdInitEnvInitializer ( IN AMD_CONFIG_PARAMS *StdHeader, IN OUT AMD_ENV_PARAMS *EnvParamsPtr ) { ASSERT (StdHeader != NULL); ASSERT (EnvParamsPtr != NULL); EnvParamsPtr->StdHeader = *StdHeader; CommonPlatformConfigInit (&EnvParamsPtr->PlatformConfig, &EnvParamsPtr->StdHeader); BldoptFchFunction.InitEnvConstructor (EnvParamsPtr); GnbInitDataStructAtEnvDef (&EnvParamsPtr->GnbEnvConfiguration, EnvParamsPtr); return AGESA_SUCCESS; }