summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/SecCore/SecMain.c
diff options
context:
space:
mode:
authorJeff Fan <jeff.fan@intel.com>2016-09-09 15:14:32 +0800
committerJeff Fan <jeff.fan@intel.com>2016-09-14 08:54:46 +0800
commit8a5b8cef678711060cc9014e0fac1886839de943 (patch)
tree803a1e0cf52f78457e1f70c99184bc9f3714a814 /UefiCpuPkg/SecCore/SecMain.c
parentd157de8b5603fb24feed6ec7b46be8677083c25a (diff)
downloadedk2-8a5b8cef678711060cc9014e0fac1886839de943.tar.gz
edk2-8a5b8cef678711060cc9014e0fac1886839de943.tar.bz2
edk2-8a5b8cef678711060cc9014e0fac1886839de943.zip
UefiCpuPkg/SecCore: Re-install SEC platform information(2) PPI
In SecTemporaryRamDone(), we will build one privated GUIDed-HOB to save CPU BIST Data and re-install SEC platform information(2) PPI. Then other PEI drivers could get CPU BIST data from the private GUIDed-HOB by new installed PPI. Cc: Michael Kinney <michael.d.kinney@intel.com> Cc: Feng Tian <feng.tian@intel.com> Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Feng Tian <feng.tian@Intel.com>
Diffstat (limited to 'UefiCpuPkg/SecCore/SecMain.c')
-rw-r--r--UefiCpuPkg/SecCore/SecMain.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/UefiCpuPkg/SecCore/SecMain.c b/UefiCpuPkg/SecCore/SecMain.c
index 5e5d543e19..af1e661a30 100644
--- a/UefiCpuPkg/SecCore/SecMain.c
+++ b/UefiCpuPkg/SecCore/SecMain.c
@@ -274,6 +274,11 @@ SecTemporaryRamDone (
BOOLEAN State;
//
+ // Republish Sec Platform Information(2) PPI
+ //
+ RepublishSecPlatformInformationPpi ();
+
+ //
// Migrate DebugAgentContext.
//
InitializeDebugAgent (DEBUG_AGENT_INIT_POSTMEM_SEC, NULL, NULL);