diff options
author | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
---|---|---|
committer | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
commit | b7c51c9cf4864df6aabb99a1ae843becd577237c (patch) | |
tree | eebe9b0d0ca03062955223097e57da84dd618b9a /Board/EM/Platform/IntelRefVerDisplay | |
download | zprj-b7c51c9cf4864df6aabb99a1ae843becd577237c.tar.xz |
Diffstat (limited to 'Board/EM/Platform/IntelRefVerDisplay')
-rw-r--r-- | Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.cif | 12 | ||||
-rw-r--r-- | Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.mak | 105 | ||||
-rw-r--r-- | Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.sd | 159 | ||||
-rw-r--r-- | Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.sdl | 36 | ||||
-rw-r--r-- | Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.uni | bin | 0 -> 10168 bytes | |||
-rw-r--r-- | Board/EM/Platform/IntelRefVerDisplay/IntelRefVerSetup.c | 261 |
6 files changed, 573 insertions, 0 deletions
diff --git a/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.cif b/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.cif new file mode 100644 index 0000000..35dcd67 --- /dev/null +++ b/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.cif @@ -0,0 +1,12 @@ +<component> + name = "IntelRefVerDisplay" + category = ModulePart + LocalRoot = "Board\EM\Platform\IntelRefVerDisplay" + RefName = "IntelRefVerDisplay" +[files] +"IntelRefVerDisplay.sdl" +"IntelRefVerDisplay.mak" +"IntelRefVerDisplay.sd" +"IntelRefVerDisplay.uni" +"IntelRefVerSetup.c" +<endComponent> diff --git a/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.mak b/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.mak new file mode 100644 index 0000000..030dbed --- /dev/null +++ b/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.mak @@ -0,0 +1,105 @@ +#************************************************************************* +#************************************************************************* +#** ** +#** (C)Copyright 1985-2011, American Megatrends, Inc. ** +#** ** +#** All Rights Reserved. ** +#** ** +#** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** +#** ** +#** Phone: (770)-246-8600 ** +#** ** +#************************************************************************* +#************************************************************************* + +#************************************************************************* +# $Header: /Alaska/SOURCE/Modules/SharkBayRefCodes/Platform/IntelRefVerDisplay/IntelRefVerDisplay.mak 4 6/13/12 8:51a Yurenlai $ +# +# $Revision: 4 $ +# +# $Date: 6/13/12 8:51a $ +#************************************************************************* +# Revision History +# ---------------- +# $Log: /Alaska/SOURCE/Modules/SharkBayRefCodes/Platform/IntelRefVerDisplay/IntelRefVerDisplay.mak $ +# +# 4 6/13/12 8:51a Yurenlai +# [TAG] None +# [Description] 01. Implement Intel Rapid Start Technology RC version +# info. +# 02. Remove DPTF and TxT RefCode version in setup, because +# they are not separate components. +# [Files] IntelRefVerDisplay.mak, IntelRefVerDisplay.sd, +# IntelRefVerDisplay.uni, IntelRefVerSetup.c +# +# 3 4/25/12 1:22p Yurenlai +# [TAG] None +# [Category] Improvement +# [Description] Corrected Setup RC Version info. +# [Files] IntelRefVerDisplay.mak, IntelRefVerSetup.c, AcpiAsl.sdl +# +# 2 2/24/12 1:27a Yurenlai +# Initial IntelRefVerDisplay midule part. +# +# 1 2/09/12 12:39a Yurenlai +# Initial check in. +# +#************************************************************************* +#<AMI_FHDR_START> +# +# Name: IntelRefVerDisplay.mak +# +# Description: MAK file for the IntelRefVerDisplay module +# +#<AMI_FHDR_END> +#************************************************************************* +All : IntelRefVerDisplay + +IntelRefVerDisplay : $(BUILD_DIR)\IntelRefVerDisplay.mak + +SetupSdbs : $(BUILD_DIR)\IntelRefVerDisplay.sdb + +$(BUILD_DIR)\IntelRefVerDisplay.sdb : $(IntelRefVerDisplay_DIR)\$(@B).sd $(IntelRefVerDisplay_DIR)\$(@B).uni + $(STRGATHER) -i INCLUDE -parse -newdb -db $(BUILD_DIR)\$(@B).sdb $(IntelRefVerDisplay_DIR)\$(@B).uni + $(STRGATHER) -scan -db $(BUILD_DIR)\$(@B).sdb -od $(BUILD_DIR)\$(@B).sdb $(IntelRefVerDisplay_DIR)\$(@B).sd + +$(BUILD_DIR)\IntelRefVerDisplay.mak : $(IntelRefVerDisplay_DIR)\$(@B).cif $(IntelRefVerDisplay_DIR)\$(@B).mak $(BUILD_RULES) + $(CIF2MAK) $(IntelRefVerDisplay_DIR)\$(@B).cif $(CIF2MAK_DEFAULTS) + +IntelRefVerSetup_INCLUDES= \ +!if "$(INTEL_CPURC_SUPPORT)"=="1" + /I$(CpuProtocolLib_DIR)\ +!endif + /I$(INTEL_SA_PROTOCOL_LIB_DIR)\ + /I$(INTEL_PCH_PROTOCOL_LIB_DIR)\ + /I$(AcpiProtocolLib_DIR)\ +!if "$(iME_SUPPORT)"=="1" + /I$(MeProtocolLib_DIR)\ +!endif +!if "$(IntelTXT_SUPPORT)"=="1" + /I$(TxtProtocolLib_DIR)\ +!endif +!if "$(DigitalThermalSensor_SUPPORT)"=="1" + /I$(DtsProtocolLib_DIR)\ +!endif +!if "$(RapidStart_SUPPORT)"=="1" + /I$(RapidStartProtocolLib_DIR)\ +!endif + +SetupBin : $(BUILD_DIR)\IntelRefVerSetup.obj + +$(BUILD_DIR)\IntelRefVerSetup.obj : $(PROJECT_DIR)\$(IntelRefVerDisplay_DIR)\IntelRefVerSetup.c $(BUILD_DIR)\SetupStrTokens.h + $(CC) $(CFLAGS) $(IntelRefVerSetup_INCLUDES) /Fo$(BUILD_DIR)\ $(IntelRefVerDisplay_DIR)\IntelRefVerSetup.c +#************************************************************************* +#************************************************************************* +#** ** +#** (C)Copyright 1985-2011, American Megatrends, Inc. ** +#** ** +#** All Rights Reserved. ** +#** ** +#** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** +#** ** +#** Phone: (770)-246-8600 ** +#** ** +#************************************************************************* +#*************************************************************************
\ No newline at end of file diff --git a/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.sd b/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.sd new file mode 100644 index 0000000..ee9b912 --- /dev/null +++ b/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.sd @@ -0,0 +1,159 @@ +//************************************************************************* +//************************************************************************* +//** ** +//** (C)Copyright 1985-2011, American Megatrends, Inc. ** +//** ** +//** All Rights Reserved. ** +//** ** +//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** +//** ** +//** Phone: (770)-246-8600 ** +//** ** +//************************************************************************* +//************************************************************************* + +//************************************************************************* +// $Header: /Alaska/SOURCE/Modules/SharkBayRefCodes/Platform/IntelRefVerDisplay/IntelRefVerDisplay.sd 4 7/11/12 4:01a Yurenlai $ +// +// $Revision: 4 $ +// +// $Date: 7/11/12 4:01a $ +//************************************************************************* +// Revision History +// ---------------- +// $Log: /Alaska/SOURCE/Modules/SharkBayRefCodes/Platform/IntelRefVerDisplay/IntelRefVerDisplay.sd $ +// +// 4 7/11/12 4:01a Yurenlai +// [TAG] None +// [Category] Improvement +// [Description] Corrected Setup RefCcode Version info. +// [Files] IntelRefVerSetup.cm IntelRefVerDisplay.sd +// +// 3 6/13/12 8:51a Yurenlai +// [TAG] None +// [Description] 01. Implement Intel Rapid Start Technology RC version +// info. +// 02. Remove DPTF and TxT RefCode version in setup, because +// they are not separate components. +// [Files] IntelRefVerDisplay.mak, IntelRefVerDisplay.sd, +// IntelRefVerDisplay.uni, IntelRefVerSetup.c +// +// 2 2/24/12 1:27a Yurenlai +// Initial IntelRefVerDisplay midule part. +// +// 1 2/09/12 12:39a Yurenlai +// Initial check in. +// +//************************************************************************* + +//************************************************************************* +//<AMI_FHDR_START> +// +// Name: IntelRefVerDisplay.sd +// +// Description: Setup file for IntelRefVerDisplay driver. It displays the +// version of Intel RC Driver and its Version String in a form of Advanced +// tab of setup screen +// +//<AMI_FHDR_END> +//************************************************************************* + +#ifdef SETUP_DATA_DEFINITION +// Put NVRAM data definitions here. +// For example: UINT8 Data1; +// These definitions will be converted by the build process +// to a definitions of SETUP_DATA fields. +#endif + +#ifdef ADVANCED_FORM_SET + + #ifdef FORM_SET_ITEM + // Define controls to be added to the main page of the formset + #endif + + #ifdef FORM_SET_GOTO + // Define goto commands for the forms defined in this file + goto INTEL_RC_VERSION_FORM_ID, + prompt = STRING_TOKEN(STR_INTEL_RC_VERSION_FORM), + help = STRING_TOKEN(STR_INTEL_RC_VERSION_FORM_HELP); + #endif + + + #ifdef FORM_SET_FORM + // Define forms + #ifndef INTEL_RC_VERSION_FORM_SETUP + #define INTEL_RC_VERSION_FORM_SETUP + + form formid = AUTO_ID(INTEL_RC_VERSION_FORM_ID), + title = STRING_TOKEN(STR_INTEL_RC_VERSION_FORM); + +#if defined (INTEL_CPURC_SUPPORT) && INTEL_CPURC_SUPPORT + text + help = STRING_TOKEN (STR_INTEL_CPU_RC_VER_HELP), + text = STRING_TOKEN (STR_INTEL_CPU_RC_VER_NAME), + text = STRING_TOKEN (STR_INTEL_CPU_RC_VER_VALUE), + flags = 0, key = 0; +#endif + + text + help = STRING_TOKEN (STR_INTEL_SA_RC_VER_HELP), + text = STRING_TOKEN (STR_INTEL_SA_RC_VER_NAME), + text = STRING_TOKEN (STR_INTEL_SA_RC_VER_VALUE), + flags = 0, key = 0; + + text + help = STRING_TOKEN (STR_INTEL_PCH_RC_VER_HELP), + text = STRING_TOKEN (STR_INTEL_PCH_RC_VER_NAME), + text = STRING_TOKEN (STR_INTEL_PCH_RC_VER_VALUE), + flags = 0, key = 0; + + text + help = STRING_TOKEN (STR_INTEL_ACPI_RC_VER_HELP), + text = STRING_TOKEN (STR_INTEL_ACPI_RC_VER_NAME), + text = STRING_TOKEN (STR_INTEL_ACPI_RC_VER_VALUE), + flags = 0, key = 0; + +#if defined (iME_SUPPORT) && iME_SUPPORT + text + help = STRING_TOKEN (STR_INTEL_ME_RC_VER_HELP), + text = STRING_TOKEN (STR_INTEL_ME_RC_VER_NAME), + text = STRING_TOKEN (STR_INTEL_ME_RC_VER_VALUE), + flags = 0, key = 0; +#endif + +#if defined (DigitalThermalSensor_SUPPORT) && DigitalThermalSensor_SUPPORT + text + help = STRING_TOKEN (STR_INTEL_DTS_RC_VER_HELP), + text = STRING_TOKEN (STR_INTEL_DTS_RC_VER_NAME), + text = STRING_TOKEN (STR_INTEL_DTS_RC_VER_VALUE), + flags = 0, key = 0; +#endif + +#if defined (RapidStart_SUPPORT) && RapidStart_SUPPORT + text + help = STRING_TOKEN (STR_INTEL_RST_RC_VER_HELP), + text = STRING_TOKEN (STR_INTEL_RST_RC_VER_NAME), + text = STRING_TOKEN (STR_INTEL_RST_RC_VER_VALUE), + flags = 0, key = 0; +#endif + + endform; // VERSION_FORM_ID + + #endif // INTEL_RC_VERSION_FORM_SETUP + #endif // FORM_SET_FORM + +#endif // ADVANCED_FORM_SET + +//************************************************************************* +//************************************************************************* +//** ** +//** (C)Copyright 1985-2011, American Megatrends, Inc. ** +//** ** +//** All Rights Reserved. ** +//** ** +//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** +//** ** +//** Phone: (770)-246-8600 ** +//** ** +//************************************************************************* +//*************************************************************************
\ No newline at end of file diff --git a/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.sdl b/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.sdl new file mode 100644 index 0000000..78bc42a --- /dev/null +++ b/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.sdl @@ -0,0 +1,36 @@ +TOKEN + Name = "IntelRefVerDisplay_SUPPORT" + Value = "1" + Help = "Main switch to enable IntelRefVerDisplay support in Project" + TokenType = Boolean + TargetMAK = Yes + TargetH = Yes + Master = Yes +End + +PATH + Name = "IntelRefVerDisplay_DIR" +End + +MODULE + Help = "Includes IntelRefVerDisplay.mak to Project" + File = "IntelRefVerDisplay.mak" +End + +ELINK + Name = "InitIntelVersionInfo," + Parent = "SetupStringInit" + InvokeOrder = AfterParent +End + +ELINK + Name = "$(BUILD_DIR)\IntelRefVerDisplay.sdb" + Parent = "SETUP_SDBS" + InvokeOrder = AfterParent +End + +ELINK + Name = "$(IntelRefVerDisplay_DIR)\IntelRefVerDisplay.sd" + Parent = "SETUP_DEFINITIONS" + InvokeOrder = AfterParent +End diff --git a/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.uni b/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.uni Binary files differnew file mode 100644 index 0000000..ddd4757 --- /dev/null +++ b/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerDisplay.uni diff --git a/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerSetup.c b/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerSetup.c new file mode 100644 index 0000000..ada088a --- /dev/null +++ b/Board/EM/Platform/IntelRefVerDisplay/IntelRefVerSetup.c @@ -0,0 +1,261 @@ +//************************************************************************* +//************************************************************************* +//** ** +//** (C)Copyright 1985-2011, American Megatrends, Inc. ** +//** ** +//** All Rights Reserved. ** +//** ** +//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** +//** ** +//** Phone: (770)-246-8600 ** +//** ** +//************************************************************************* +//************************************************************************* + +//************************************************************************* +// $Header: /Alaska/SOURCE/Modules/SharkBayRefCodes/Platform/IntelRefVerDisplay/IntelRefVerSetup.c 5 7/11/12 4:01a Yurenlai $ +// +// $Revision: 5 $ +// +// $Date: 7/11/12 4:01a $ +//************************************************************************* +// Revision History +// ---------------- +// $Log: /Alaska/SOURCE/Modules/SharkBayRefCodes/Platform/IntelRefVerDisplay/IntelRefVerSetup.c $ +// +// 5 7/11/12 4:01a Yurenlai +// [TAG] None +// [Category] Improvement +// [Description] Corrected Setup RefCcode Version info. +// [Files] IntelRefVerSetup.cm IntelRefVerDisplay.sd +// +// 4 6/13/12 8:51a Yurenlai +// [TAG] None +// [Description] 01. Implement Intel Rapid Start Technology RC version +// info. +// 02. Remove DPTF and TxT RefCode version in setup, because +// they are not separate components. +// [Files] IntelRefVerDisplay.mak, IntelRefVerDisplay.sd, +// IntelRefVerDisplay.uni, IntelRefVerSetup.c +// +// 3 4/25/12 1:22p Yurenlai +// [TAG] None +// [Category] Improvement +// [Description] Corrected Setup RC Version info. +// [Files] IntelRefVerDisplay.mak, IntelRefVerSetup.c, AcpiAsl.sdl +// +// 2 2/24/12 1:28a Yurenlai +// Initial IntelRefVerDisplay midule part. +// +// 1 2/09/12 12:39a Yurenlai +// Initial check in. +// +//************************************************************************* +//<AMI_FHDR_START> +// +// Name: IntelRefVerSetup.c +// +// Description: Display the verison of Intel RC drivers +// +//<AMI_FHDR_END> +//************************************************************************* + +//---------------------------------------------------------------------------- +// Include(s) +//---------------------------------------------------------------------------- +#include <Setup.h> +#include <SetupStrTokens.h> +#include <AmiDxeLib.h> +#include <Token.h> +#if defined (INTEL_CPURC_SUPPORT) && INTEL_CPURC_SUPPORT +#include <CpuInfo\CpuInfo.h> +#endif +#include <SaInfo\SaInfo.h> +#include <PchInfo\PchInfo.h> +#include <AcpiInfo\AcpiInfo.h> +#if defined (iME_SUPPORT) && iME_SUPPORT +#include <MeRcInfo\MeRcInfo.h> +#endif +#if defined (IntelTXT_SUPPORT) && IntelTXT_SUPPORT +#include <TxtInfo\TxtInfo.h> +#endif +#if defined (DigitalThermalSensor_SUPPORT) && DigitalThermalSensor_SUPPORT +#include <DtsInfo\DtsInfo.h> +#endif +#if defined (RapidStart_SUPPORT) && RapidStart_SUPPORT +#include <RapidStartInfo\RapidStartInfo.h> +#endif + +//<AMI_PHDR_START> +//--------------------------------------------------------------------------- +// +// Name: UpdateStringValue +// +// Description: Update the value of Intel RC drivers string +// +// Input: UINT32 RCVersion - Intel RC driver version +// STRING_REF StrRef - String Token defining which string in the database +// +// Output: VOID +// +//--------------------------------------------------------------------------- +//<AMI_PHDR_END> + +VOID +UpdateStringValue( + EFI_HII_HANDLE HiiHandle, + UINT32 RCVersion, + STRING_REF StrRef +) +{ + UINT8 x, y, z, w; + + x = (UINT8) ((RCVersion & 0xFF000000) >> 24); + y = (UINT8) ((RCVersion & 0xFF0000) >> 16); + z = (UINT8) ((RCVersion & 0xFF00) >> 8); + w = (UINT8) ((RCVersion & 0xFF)); + + InitString ( HiiHandle, + StrRef, + L"%d.%d.%d.%d", + x, y, z, w); +} + +//<AMI_PHDR_START> +//--------------------------------------------------------------------------- +// +// Name: InitIntelVersionInfo +// +// Description: This function will fullfill the puspose to retrive the version +// of Intel RC Drivers and put into variables of IntelRefVerDisplay.uni file. +// +// Input: EFI_HII_HANDLE HiiHandle +// +// Output: VOID +// +//--------------------------------------------------------------------------- +//<AMI_PHDR_END> + +VOID +InitIntelVersionInfo( + EFI_HII_HANDLE HiiHandle, + UINT16 Class +) +{ + EFI_STATUS Status; +#if defined (INTEL_CPURC_SUPPORT) && INTEL_CPURC_SUPPORT + EFI_GUID gDxeCpuInfoProtocolGuid = DXE_CPU_INFO_PROTOCOL_GUID; + DXE_CPU_INFO_PROTOCOL *CpuInfo; +#endif + EFI_GUID gEfiSaInfoProtocolGuid = EFI_SA_INFO_PROTOCOL_GUID; + EFI_SA_INFO_PROTOCOL *SaInfo; + EFI_GUID gEfiPchInfoProtocolGuid = EFI_PCH_INFO_PROTOCOL_GUID; + EFI_PCH_INFO_PROTOCOL *PchInfo; + EFI_GUID gEfiAcpiInfoProtocolGuid = EFI_ACPI_INFO_PROTOCOL_GUID; + EFI_ACPI_INFO_PROTOCOL *AcpiInfo; +#if defined (iME_SUPPORT) && iME_SUPPORT + EFI_GUID gEfiMeRcInfoProtocolGuid = EFI_ME_RC_INFO_PROTOCOL_GUID; + EFI_ME_RC_INFO_PROTOCOL *MeInfo; +#endif +#if defined (DigitalThermalSensor_SUPPORT) && DigitalThermalSensor_SUPPORT + EFI_GUID gEfiDtsInfoProtocolGuid = EFI_DTS_INFO_PROTOCOL_GUID; + EFI_DTS_INFO_PROTOCOL *DtsInfo; +#endif +#if defined (RapidStart_SUPPORT) && RapidStart_SUPPORT + EFI_GUID gRapidStartInfoProtocolGuid = RAPID_START_INFO_PROTOCOL_GUID; + RAPID_START_INFO_PROTOCOL *RSTInfo; +#endif + + if (Class != ADVANCED_FORM_SET_CLASS) { + return; + } + +#if defined (INTEL_CPURC_SUPPORT) && INTEL_CPURC_SUPPORT + Status = pBS->LocateProtocol(&gDxeCpuInfoProtocolGuid, + NULL, + &CpuInfo); + if (!EFI_ERROR (Status)) { + UpdateStringValue(HiiHandle, + CpuInfo->RcVersion, + STRING_TOKEN (STR_INTEL_CPU_RC_VER_VALUE)); + } +#endif + + // System Agent RefCode Version. + Status = pBS->LocateProtocol(&gEfiSaInfoProtocolGuid, + NULL, + &SaInfo); + if (!EFI_ERROR (Status)) { + UpdateStringValue(HiiHandle, + SaInfo->RCVersion, + STRING_TOKEN (STR_INTEL_SA_RC_VER_VALUE)); + } + + // Pch RefCode Version. + Status = pBS->LocateProtocol(&gEfiPchInfoProtocolGuid, + NULL, + &PchInfo); + if (!EFI_ERROR (Status)) { + UpdateStringValue(HiiHandle, + PchInfo->RCVersion, + STRING_TOKEN (STR_INTEL_PCH_RC_VER_VALUE)); + } + + // ACPI RefCode Version. + Status = pBS->LocateProtocol(&gEfiAcpiInfoProtocolGuid, + NULL, + &AcpiInfo); + if (!EFI_ERROR (Status)) { + UpdateStringValue(HiiHandle, + AcpiInfo->RCVersion, + STRING_TOKEN (STR_INTEL_ACPI_RC_VER_VALUE)); + }; + +#if defined (iME_SUPPORT) && iME_SUPPORT + Status = pBS->LocateProtocol(&gEfiMeRcInfoProtocolGuid, + NULL, + &MeInfo); + if (!EFI_ERROR (Status)) { + UpdateStringValue(HiiHandle, + MeInfo->RCVersion, + STRING_TOKEN (STR_INTEL_ME_RC_VER_VALUE)); + } +#endif + +#if defined (DigitalThermalSensor_SUPPORT) && DigitalThermalSensor_SUPPORT + Status = pBS->LocateProtocol(&gEfiDtsInfoProtocolGuid, + NULL, + &DtsInfo); + if (!EFI_ERROR (Status)) { + UpdateStringValue(HiiHandle, + DtsInfo->RCVersion, + STRING_TOKEN (STR_INTEL_DTS_RC_VER_VALUE)); + } +#endif + +#if defined (RapidStart_SUPPORT) && RapidStart_SUPPORT + Status = pBS->LocateProtocol(&gRapidStartInfoProtocolGuid, + NULL, + &RSTInfo); + if (!EFI_ERROR (Status)) { + UpdateStringValue(HiiHandle, + RSTInfo->RCVersion, + STRING_TOKEN (STR_INTEL_RST_RC_VER_VALUE)); + } +#endif + + return; +} +//************************************************************************* +//************************************************************************* +//** ** +//** (C)Copyright 1985-2011, American Megatrends, Inc. ** +//** ** +//** All Rights Reserved. ** +//** ** +//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** +//** ** +//** Phone: (770)-246-8600 ** +//** ** +//************************************************************************* +//************************************************************************* |