]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/SecCore/SecMain.c
UefiCpuPkg/Include/Library: Add Register CPU Features Library
[mirror_edk2.git] / UefiCpuPkg / SecCore / SecMain.c
index 5e5d543e193425a4615eb257e49452742c6ffbc4..077d0db49f53ecdd7536617cc49abc4fe6ac6238 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   C functions in SEC\r
 \r
-  Copyright (c) 2008 - 2015, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2008 - 2016, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -237,6 +237,14 @@ SecStartupPhase2(
     PpiList = &mPeiSecPlatformInformationPpi[0];\r
   }\r
 \r
+  DEBUG ((\r
+    DEBUG_INFO,\r
+    "%a() Stack Base: 0x%p, Stack Size: 0x%x\n",\r
+    __FUNCTION__,\r
+    SecCoreData->StackBase,\r
+    (UINT32) SecCoreData->StackSize\r
+    ));\r
+\r
   //\r
   // Report Status Code to indicate transferring to PEI core\r
   //\r
@@ -273,6 +281,11 @@ SecTemporaryRamDone (
 {\r
   BOOLEAN  State;\r
 \r
+  //\r
+  // Republish Sec Platform Information(2) PPI\r
+  //\r
+  RepublishSecPlatformInformationPpi ();\r
+\r
   //\r
   // Migrate DebugAgentContext.\r
   //\r