]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiCpuPkg/SecCore: Support EFI_PEI_CORE_FV_LOCATION_PPI
authorChasel, Chiu <chasel.chiu@intel.com>
Fri, 15 Feb 2019 09:54:22 +0000 (17:54 +0800)
committerChasel, Chiu <chasel.chiu@intel.com>
Fri, 15 Feb 2019 09:54:22 +0000 (17:54 +0800)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1524

Previous commit 373c2c5b888d029d7103206556bb85f33d980569,
missed one comment change that should be fixed.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
UefiCpuPkg/SecCore/SecMain.c

index d84eb675f593e253a3dac87ccc50693d4f491cdf..752156a98e2e6ecdd89cd86d8253a155de93f451 100644 (file)
@@ -236,11 +236,14 @@ SecStartupPhase2(
   SecCoreData   = (EFI_SEC_PEI_HAND_OFF *) Context;\r
   AllSecPpiList = (EFI_PEI_PPI_DESCRIPTOR *) SecCoreData->PeiTemporaryRamBase;\r
 \r
+  //\r
+  // Perform platform specific initialization before entering PeiCore.\r
+  //\r
+  PpiList = SecPlatformMain (SecCoreData);\r
   //\r
   // Find Pei Core entry point. It will report SEC and Pei Core debug information if remote debug\r
   // is enabled.\r
   //\r
-  PpiList = SecPlatformMain (SecCoreData);\r
   if (PpiList != NULL) {\r
     for (Index = 0;\r
       (PpiList[Index].Flags & EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST) != EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST;\r
@@ -268,9 +271,6 @@ SecStartupPhase2(
     }\r
   }\r
 \r
-  //\r
-  // Perform platform specific initialization before entering PeiCore.\r
-  //\r
   if (PpiList != NULL) {\r
     //\r
     // Remove the terminal flag from the terminal PPI\r